프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dispatcher | |||
$events | array |
메소드 | 설명 | |
---|---|---|
__construct ( $dispatcher ) | ||
getSubscribedEvents ( ) : array | Get subscribed doctrine orm events. | |
postPersist ( Doctrine\ORM\Event\LifecycleEventArgs $args ) : void | Dispatch entity.create on postPersist. | |
postUpdate ( Doctrine\ORM\Event\LifecycleEventArgs $args ) : void | Dispatch entity.update on postUpdate. | |
preRemove ( Doctrine\ORM\Event\LifecycleEventArgs $args ) : void | Dispatch entity.delete on preRemove. | |
preUpdate ( Doctrine\ORM\Event\PreUpdateEventArgs $args ) : void | Dispatch entity.update on preUpdate. |
메소드 | 설명 | |
---|---|---|
getEntityId ( object $entity, |
Get entity id. | |
getEntityName ( object $entity ) : string | Get entity name. | |
getEntityProperties ( $entity, |
Get entity properties. | |
getEntityTitle ( object $entity ) : string | Get entity title. |
public getSubscribedEvents ( ) : array | ||
리턴 | array |
public postPersist ( Doctrine\ORM\Event\LifecycleEventArgs $args ) : void | ||
$args | Doctrine\ORM\Event\LifecycleEventArgs | |
리턴 | void |
public postUpdate ( Doctrine\ORM\Event\LifecycleEventArgs $args ) : void | ||
$args | Doctrine\ORM\Event\LifecycleEventArgs | |
리턴 | void |