| 1 | <?php |
||
| 22 | class Image extends BaseImage implements PersistableInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var ArticleMediaInterface |
||
| 26 | */ |
||
| 27 | protected $media; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var ImageRenditionInterface |
||
| 31 | */ |
||
| 32 | protected $rendition; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return ImageRenditionInterface |
||
| 36 | */ |
||
| 37 | 3 | public function getRendition() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param ImageRenditionInterface $rendition |
||
| 44 | */ |
||
| 45 | public function setRendition(ImageRenditionInterface $rendition) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return ArticleMediaInterface |
||
| 52 | */ |
||
| 53 | public function getMedia(): ArticleMediaInterface |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param ArticleMediaInterface $media |
||
| 60 | */ |
||
| 61 | public function setMedia(ArticleMediaInterface $media) |
||
| 65 | } |
||
| 66 |