1 | <?php |
||
11 | class PlaceholderBag implements PlaceholderBagInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | private $placeholder = []; |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | 21 | public function add(string $placeholder, string $value) |
|
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 2 | public function clear() |
|
32 | { |
||
33 | 2 | $this->placeholder = []; |
|
34 | 2 | } |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 20 | public function all(): array |
|
43 | } |
||
44 |