1 | <?php |
||
26 | class ScenarioStateInitializer implements ContextInitializer, EventSubscriberInterface, StepArgumentHolder |
||
27 | { |
||
28 | /** |
||
29 | * @var ScenarioStateInterface |
||
30 | */ |
||
31 | private $store; |
||
32 | |||
33 | 2 | public function __construct() |
|
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | 1 | public static function getSubscribedEvents() |
|
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | 1 | public function initializeContext(Context $context) |
|
59 | |||
60 | 2 | public function clearStore() |
|
64 | |||
65 | /** |
||
66 | * @return ScenarioStateInterface |
||
67 | */ |
||
68 | 2 | public function getStore() |
|
72 | |||
73 | public function hasStepArgumentFor($key) |
||
77 | |||
78 | public function getStepArgumentFor($key) |
||
82 | } |
||
83 |