| 1 | <?php | ||
| 20 | class EntityRemoved extends AbstractEvent implements EventInterface | ||
| 21 | { | ||
| 22 | |||
| 23 | const ACTION_REMOVE = 'entity.removed'; | ||
| 24 | |||
| 25 | /** | ||
| 26 | * @var string | ||
| 27 | */ | ||
| 28 | protected $name = 'EntityRemoved'; | ||
| 29 | |||
| 30 | /** | ||
| 31 | * @var string | ||
| 32 | */ | ||
| 33 | protected $action = self::ACTION_REMOVE; | ||
| 34 | |||
| 35 | /** | ||
| 36 | * Gets the entity collection that triggers the event | ||
| 37 | * | ||
| 38 | * @return EntityCollectionInterface | ||
| 39 | */ | ||
| 40 | public function getCollection() | ||
| 44 | } |