Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 83.33% |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
12 | class UrlGeneratorFactory |
||
13 | { |
||
14 | /** |
||
15 | * @return BaseUrlGenerator |
||
16 | */ |
||
17 | 1 | public static function create() |
|
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param Media|UrlMethodsTrait $media |
||
28 | * |
||
29 | * @param string $conversionName |
||
30 | * @return UrlGeneratorInterface|BaseUrlGenerator |
||
31 | * @noinspection PhpDocMissingThrowsInspection |
||
32 | */ |
||
33 | 1 | public static function createForMedia(Media $media, string $conversionName = ''): UrlGeneratorInterface |
|
48 |