AlbumDate
in package
Doctrine event listener class for Album and Photo entities.
Do not instantiate this class manually.
Table of Contents
Methods
- prePersist() : void
- albumPersisted() : void
- Updates the dates on the parent album if it exists.
- photoPersisted() : void
- Updates the dates on the parent album.
Methods
prePersist()
public
prePersist(PrePersistEventArgs $eventArgs) : void
Parameters
- $eventArgs : PrePersistEventArgs
albumPersisted()
Updates the dates on the parent album if it exists.
protected
albumPersisted(Album $album) : void
Parameters
- $album : Album
photoPersisted()
Updates the dates on the parent album.
protected
photoPersisted(Photo $photo) : void
Parameters
- $photo : Photo