| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 4 | public function generateImageUrl( |
|
| 21 | MediaInterface $media, |
||
| 22 | $width, |
||
| 23 | $height, |
||
| 24 | array $extra = [], |
||
| 25 | $routeName = null, |
||
| 26 | $referenceType = SymfonyUrlGeneratorInterface::ABSOLUTE_PATH |
||
| 27 | ) { |
||
| 28 | 4 | return $this->generate($media, new ImageParameterBag($width, $height, $extra), $routeName, $referenceType); |
|
| 29 | } |
||
| 30 | } |
||
| 31 |