| 1 | <?php |
||
| 14 | class PostSaveEvent implements Event |
||
| 15 | { |
||
| 16 | public const NAME = 'POST_SAVE'; |
||
| 17 | |||
| 18 | /** @var ContainerInterface */ |
||
| 19 | private $provider; |
||
| 20 | /** @var mixed */ |
||
| 21 | private $payload; |
||
| 22 | /** @var array */ |
||
| 23 | private $slumberingData; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * PostSaveClass constructor. |
||
| 27 | * |
||
| 28 | * @param ContainerInterface $provider |
||
| 29 | * @param mixed $payload |
||
| 30 | * @param array $slumberingData |
||
| 31 | */ |
||
| 32 | 4 | public function __construct(ContainerInterface $provider, $payload, $slumberingData) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getEventName() |
||
| 46 | |||
| 47 | |||
| 48 | /** |
||
| 49 | * @return ContainerInterface |
||
| 50 | */ |
||
| 51 | 4 | public function getProvider() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return mixed |
||
| 58 | */ |
||
| 59 | 4 | public function getPayload() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @return array |
||
| 66 | */ |
||
| 67 | 4 | public function getSlumberingData() |
|
| 71 | } |
||
| 72 |