PHP Интерфейс Newscoop\Service\IAuditService

Показать файл Открыть проект

Открытые методы

Метод Описание
changed ( Newscoop\Entity\Entity $entity ) Audit the change of a entity.
created ( Newscoop\Entity\Entity $entity ) Audit the creation of a new entity.
removed ( Newscoop\Entity\Entity $entity ) Audit the remove of a entity.

Описание методов

changed() публичный метод

The audit should be called before the persistance of the entity.
public changed ( Newscoop\Entity\Entity $entity )
$entity Newscoop\Entity\Entity The entity to be audited, not null.

created() публичный метод

The audit should be called after the persistance of the entity.
public created ( Newscoop\Entity\Entity $entity )
$entity Newscoop\Entity\Entity The entity to be audited, not null.

removed() публичный метод

The audit should be called before the removal of the entity.
public removed ( Newscoop\Entity\Entity $entity )
$entity Newscoop\Entity\Entity The entity to be audited, not null.