| 1 | <?php |
||
| 14 | class PostDeleteEvent implements Event |
||
| 15 | { |
||
| 16 | public const NAME = 'POST_DELETE'; |
||
| 17 | |||
| 18 | /** @var ContainerInterface */ |
||
| 19 | private $provider; |
||
| 20 | /** @var mixed */ |
||
| 21 | private $payload; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * PostSaveClass constructor. |
||
| 25 | * |
||
| 26 | * @param ContainerInterface $provider |
||
| 27 | * @param mixed $payload |
||
| 28 | */ |
||
| 29 | public function __construct(ContainerInterface $provider, $payload) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getEventName() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return ContainerInterface |
||
| 45 | */ |
||
| 46 | public function getProvider() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | public function getPayload() |
||
| 58 | } |
||
| 59 |