Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait HasUrlTransformerTrait |
||
10 | { |
||
11 | /** |
||
12 | * @var UrlTransformer |
||
13 | */ |
||
14 | protected $urlTransformer = null; |
||
15 | |||
16 | /** |
||
17 | * @return UrlTransformer |
||
18 | */ |
||
19 | 4 | public function getUrlTransformer(): UrlTransformer |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param UrlTransformer $urlTransformer |
||
29 | */ |
||
30 | 4 | public function setUrlTransformer(UrlTransformer $urlTransformer) |
|
33 | 4 | } |
|
34 | |||
35 | 4 | protected function initUrlTransformer() |
|
38 | } |
||
39 | } |