Remove
in package
Doctrine event listener class for Album and Photo entities.
Do not instantiate this class manually.
Table of Contents
Properties
Methods
- __construct() : mixed
- preRemove() : void
- albumRemoved() : void
- photoRemoved() : void
Properties
$albumService read-only
private
Album
$albumService
$photoService read-only
private
Photo
$photoService
Methods
__construct()
public
__construct(Photo $photoService, Album $albumService) : mixed
Parameters
preRemove()
public
preRemove(PreRemoveEventArgs $eventArgs) : void
Parameters
- $eventArgs : PreRemoveEventArgs
albumRemoved()
protected
albumRemoved(Album $album) : void
Parameters
- $album : Album
photoRemoved()
protected
photoRemoved(Photo $photo) : void
Parameters
- $photo : Photo