\Imi\Model\RelationDelete

Summary

Methods
Properties
Constants
parse()
parseByOneToOne()
parseByOneToMany()
parseByManyToMany()
parseByPolymorphicOneToOne()
parseByPolymorphicOneToMany()
parseByPolymorphicManyToMany()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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

parseByOneToOne()

parseByOneToOne(\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

parseByOneToMany()

parseByOneToMany(\Imi\Model\Model  $model, string  $propertyName, \Imi\Model\Annotation\Relation\OneToMany  $annotation) : void

处理一对多删除

Parameters

\Imi\Model\Model $model
string $propertyName
\Imi\Model\Annotation\Relation\OneToMany $annotation

parseByManyToMany()

parseByManyToMany(\Imi\Model\Model  $model, string  $propertyName, \Imi\Model\Annotation\Relation\ManyToMany  $annotation) : void

处理多对多删除

Parameters

\Imi\Model\Model $model
string $propertyName
\Imi\Model\Annotation\Relation\ManyToMany $annotation

parseByPolymorphicOneToOne()

parseByPolymorphicOneToOne(\Imi\Model\Model  $model, string  $propertyName, \Imi\Model\Annotation\Relation\PolymorphicOneToOne  $annotation) : void

处理多态一对一删除

Parameters

\Imi\Model\Model $model
string $propertyName
\Imi\Model\Annotation\Relation\PolymorphicOneToOne $annotation

parseByPolymorphicOneToMany()

parseByPolymorphicOneToMany(\Imi\Model\Model  $model, string  $propertyName, \Imi\Model\Annotation\Relation\PolymorphicOneToMany  $annotation) : void

处理多态一对多删除

Parameters

\Imi\Model\Model $model
string $propertyName
\Imi\Model\Annotation\Relation\PolymorphicOneToMany $annotation

parseByPolymorphicManyToMany()

parseByPolymorphicManyToMany(\Imi\Model\Model  $model, string  $propertyName, \Imi\Model\Annotation\Relation\PolymorphicManyToMany  $annotation) : void

处理多态多对多删除

Parameters

\Imi\Model\Model $model
string $propertyName
\Imi\Model\Annotation\Relation\PolymorphicManyToMany $annotation