parse()
parse(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\OneToOne $annotation) : void
处理删除
Parameters
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\OneToOne | $annotation |
parse(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\OneToOne $annotation) : void
处理删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\OneToOne | $annotation |
parseByOneToOne(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\OneToOne $annotation) : void
处理一对一删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\OneToOne | $annotation |
parseByOneToMany(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\OneToMany $annotation) : void
处理一对多删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\OneToMany | $annotation |
parseByManyToMany(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\ManyToMany $annotation) : void
处理多对多删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\ManyToMany | $annotation |
parseByPolymorphicOneToOne(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\PolymorphicOneToOne $annotation) : void
处理多态一对一删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\PolymorphicOneToOne | $annotation |
parseByPolymorphicOneToMany(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\PolymorphicOneToMany $annotation) : void
处理多态一对多删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\PolymorphicOneToMany | $annotation |
parseByPolymorphicManyToMany(\Imi\Model\Model $model, string $propertyName, \Imi\Model\Annotation\Relation\PolymorphicManyToMany $annotation) : void
处理多态多对多删除
\Imi\Model\Model | $model | |
string | $propertyName | |
\Imi\Model\Annotation\Relation\PolymorphicManyToMany | $annotation |