Completed
Push — master ( 077dd8...ca59d5 )
by Derek Stephen
01:55
created

AbstractErrorRender   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 14
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * User: delboy1978uk
4
 * Date: 04/12/2016
5
 * Time: 23:50
6
 */
7
8
namespace Del\Form\Renderer\Error;
9
10
use DOMDocument;
11
12
abstract class AbstractErrorRender implements ErrorRendererInterface
13
{
14
    /** @var DOMDocument */
15
    protected $dom;
16
17
    /**
18
     * AbstractErrorRender constructor.
19
     * @param DOMDocument $dom
20
     */
21 23
    public function __construct(DOMDocument $dom)
22
    {
23 23
        $this->dom = $dom;
24
    }
25
}