diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index cc90d0de..5aba9d8f 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -68,7 +68,6 @@ class Annotation extends Component if (isset($this->_model_relate[$class . '::' . $setName])) { return $this->_model_relate[$class . '::' . $setName]; } - var_dump($class . '::' . $setName); return null; } diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index 18927639..1fed0ad6 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -853,6 +853,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess $loader = Snowflake::app()->getAnnotation(); if (!empty($method = $loader->getGetMethodName(get_called_class(), $name))) { + var_dump(get_called_class() . '::' . $method); return $this->{$method}(); } if (array_key_exists($name, $this->_attributes)) {