Свойство | Тип | Описание | |
---|---|---|---|
$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 |