| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class CommonViewInjection implements CommonParametersInjectionInterface |
||
| 12 | { |
||
| 13 | private UrlGeneratorInterface $url; |
||
| 14 | private Field $field; |
||
| 15 | |||
| 16 | 10 | public function __construct( |
|
| 17 | UrlGeneratorInterface $url, |
||
| 18 | Field $field |
||
| 19 | ) { |
||
| 20 | 10 | $this->url = $url; |
|
| 21 | 10 | $this->field = $field; |
|
| 22 | 10 | } |
|
| 23 | |||
| 24 | 10 | public function getCommonParameters(): array |
|
| 29 | ]; |
||
| 30 | } |
||
| 32 |