改名
This commit is contained in:
@@ -244,10 +244,13 @@ class Annotation extends BaseAnnotation
|
|||||||
*/
|
*/
|
||||||
public function __get($name)
|
public function __get($name)
|
||||||
{
|
{
|
||||||
if (isset($this->_classMap[$name])) {
|
if (!isset($this->_classMap[$name])) {
|
||||||
return Snowflake::createObject($this->_classMap[$name]);
|
return parent::__get($name); // TODO: Change the autogenerated stub
|
||||||
}
|
}
|
||||||
return parent::__get($name); // TODO: Change the autogenerated stub
|
if (!is_object($this->_classMap[$name])) {
|
||||||
|
$this->_classMap[$name] = Snowflake::createObject($this->_classMap[$name]);
|
||||||
|
}
|
||||||
|
return $this->_classMap[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user