1 | <?php |
||
10 | final class StringBlockContext implements Context |
||
11 | { |
||
12 | /** |
||
13 | * @var SharedStorageInterface |
||
14 | */ |
||
15 | private $sharedStorage; |
||
16 | |||
17 | /** |
||
18 | * @var FactoryInterface |
||
19 | */ |
||
20 | private $factory; |
||
21 | |||
22 | /** |
||
23 | * @var ObjectManager |
||
24 | */ |
||
25 | private $manager; |
||
26 | |||
27 | /** |
||
28 | * @param SharedStorageInterface $sharedStorage |
||
29 | * @param FactoryInterface $factory |
||
30 | * @param ObjectManager $manager |
||
31 | */ |
||
32 | public function __construct( |
||
41 | |||
42 | /** |
||
43 | * @Given the store has string block :name |
||
44 | */ |
||
45 | public function theStoreHasStringBlock($name) |
||
49 | |||
50 | /** |
||
51 | * @Given the store has string block :name with body :body |
||
52 | */ |
||
53 | public function theStoreHasStringBlockWithBody($name, $body) |
||
65 | } |
||
66 |