| 1 | <?php |
||
| 17 | class TestContainerConfig implements ContainerConfigInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Define |
||
| 21 | * {@inheritDoc} |
||
| 22 | * @see \Aura\Di\ContainerConfigInterface::define() |
||
| 23 | */ |
||
| 24 | public function define(Container $di) |
||
| 25 | { |
||
| 26 | $prophet = new Prophet(); |
||
| 27 | $renderer = $prophet->prophesize(TemplateRendererInterface::class)->reveal(); |
||
| 28 | |||
| 29 | $di->set(TemplateRendererInterface::class, $renderer); |
||
| 30 | |||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Modify |
||
| 35 | * {@inheritDoc} |
||
| 36 | * @see \Aura\Di\ContainerConfigInterface::modify() |
||
| 37 | */ |
||
| 38 | public function modify(Container $di) |
||
| 39 | { |
||
| 40 | } |
||
| 41 | } |