This commit is contained in:
2021-07-21 11:46:43 +08:00
parent 37b9731c24
commit 088745109f
2 changed files with 10 additions and 9 deletions
+3
View File
@@ -147,6 +147,9 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
public function init()
{
$this->container = Snowflake::app();
$an = Snowflake::app()->getAnnotation();
$an->injectProperty($this);
}