| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | abstract class AbstractErrorRender implements ErrorRendererInterface |
||
| 15 | { |
||
| 16 | use HasDomTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * AbstractErrorRender constructor. |
||
| 20 | * @param DOMDocument $dom |
||
| 21 | */ |
||
| 22 | 66 | public function __construct(DOMDocument $dom) |
|
| 25 | 66 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @param FieldInterface $field |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | 6 | public function shouldRender(FieldInterface $field) |
|
| 34 | } |
||
| 35 | } |