| 1 | <?php |
||
| 17 | class ImageRendition implements ImageRenditionInterface |
||
| 18 | { |
||
| 19 | use PreviewUrlAwareTrait; |
||
| 20 | |||
| 21 | protected $width; |
||
| 22 | |||
| 23 | protected $height; |
||
| 24 | |||
| 25 | protected $name; |
||
| 26 | |||
| 27 | protected $id; |
||
| 28 | |||
| 29 | protected $image; |
||
| 30 | |||
| 31 | protected $media; |
||
| 32 | |||
| 33 | protected $convertedToWebp; |
||
| 34 | |||
| 35 | public function getMedia(): ArticleMediaInterface |
||
| 39 | |||
| 40 | public function setMedia(ArticleMediaInterface $media): void |
||
| 44 | |||
| 45 | public function getImage(): ImageInterface |
||
| 49 | |||
| 50 | public function setImage(ImageInterface $image): void |
||
| 54 | |||
| 55 | public function getId(): ?int |
||
| 59 | |||
| 60 | public function setId(?int $id) |
||
| 64 | |||
| 65 | public function getWidth(): int |
||
| 69 | |||
| 70 | public function setWidth(int $width): void |
||
| 74 | |||
| 75 | public function getHeight(): int |
||
| 79 | |||
| 80 | public function setHeight(int $height): void |
||
| 84 | |||
| 85 | public function getName(): string |
||
| 89 | |||
| 90 | public function setName(string $name): void |
||
| 94 | |||
| 95 | public function isConvertedToWebp(): bool |
||
| 99 | } |
||
| 100 |