Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function media(string $id, string $mediaType, string $collection, ?int $width = null, ?int $height = null, ?string $occurrenceKey = null): Media |
||
14 | { |
||
15 | $block = new Media($id, $mediaType, $collection, $width, $height, $occurrenceKey, $this); |
||
|
|||
16 | $this->append($block); |
||
17 | |||
18 | return $block; |
||
19 | } |
||
21 |