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