| 1 | <?php |
||
| 18 | abstract class AbstractExecuteEventSubscriber implements |
||
| 19 | EventSubscriber, |
||
| 20 | ExecuteEventSubscriberInterface |
||
| 21 | { |
||
| 22 | use EventManagerAwareTrait, ExecutorAwareTrait; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Прототип для объекта события |
||
| 26 | * |
||
| 27 | * @var FixtureExecutorEvent |
||
| 28 | */ |
||
| 29 | protected $prototypeEvent; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Возвращает прототип для объекта события |
||
| 33 | * |
||
| 34 | * @return FixtureExecutorEvent |
||
| 35 | */ |
||
| 36 | public function getPrototypeEvent() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Устанавливает прототип для объекта события |
||
| 47 | * |
||
| 48 | * @param FixtureExecutorEvent $prototypeEvent |
||
| 49 | * |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | public function setPrototypeEvent($prototypeEvent) |
||
| 58 | } |
||
| 59 |