1 | <?php |
||
18 | class PlaceholdersContextInitializer implements ContextInitializer |
||
19 | { |
||
20 | private $repository; |
||
21 | |||
22 | /** |
||
23 | * Initializes initializer with placeholders repository. |
||
24 | * @param PlaceholdersRepository $repository |
||
25 | */ |
||
26 | public function __construct(PlaceholdersRepository $repository) |
||
31 | |||
32 | /** |
||
33 | * Injects the placeholders repository on context. |
||
34 | * |
||
35 | * @param Context $context |
||
36 | */ |
||
37 | public function initializeContext(Context $context) |
||
44 | } |
||
45 |