改名
This commit is contained in:
@@ -133,7 +133,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$this->_annotations = [];
|
|
||||||
if (!Context::hasContext(Relation::class)) {
|
if (!Context::hasContext(Relation::class)) {
|
||||||
$relation = Snowflake::createObject(Relation::class);
|
$relation = Snowflake::createObject(Relation::class);
|
||||||
$this->_relation = Context::setContext(Relation::class, $relation);
|
$this->_relation = Context::setContext(Relation::class, $relation);
|
||||||
@@ -145,9 +144,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws ComponentException
|
* @throws Exception
|
||||||
* @throws NotFindClassException
|
|
||||||
* @throws ReflectionException
|
|
||||||
*/
|
*/
|
||||||
private function createAnnotation()
|
private function createAnnotation()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user