Completed
Push — master ( 7c1d11...d7e590 )
by Johannes
03:46
created

TestContainerConfig::modify()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
/**
3
 * Lichtenwallner  (https://lichtenwallner.at)
4
 *
5
 * @see https://github.com/jolicht/markdown-cms for the canonical source repository
6
 * @license https://github.com/jolicht/markdown-cms/blob/master/LICENSE MIT
7
 * @copyright Copyright (c) Johannes Lichtenwallner
8
 */
9
declare(strict_types = 1);
10
namespace JolichtTest\MarkdownCms;
11
12
use Aura\Di\ContainerConfigInterface;
13
use Aura\Di\Container;
14
use Zend\Expressive\Template\TemplateRendererInterface;
15
use Prophecy\Prophet;
16
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
}