| 1 | <?php |
||
| 25 | class ScenarioStateInitializer implements ContextInitializer, EventSubscriberInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var ScenarioStateInterface |
||
| 29 | */ |
||
| 30 | private $store; |
||
| 31 | |||
| 32 | 2 | public function __construct() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 1 | public static function getSubscribedEvents() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | 1 | public function initializeContext(Context $context) |
|
| 58 | |||
| 59 | 2 | public function clearStore() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @return ScenarioStateInterface |
||
| 66 | */ |
||
| 67 | 2 | public function getStore() |
|
| 71 | } |
||
| 72 |