PHP 인터페이스 Newscoop\Service\IAuditService

파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
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.