| 1 | <?php |
||
| 14 | class SmartCollectionImage |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $src; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | protected $width; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var int |
||
| 28 | */ |
||
| 29 | protected $height; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var \DateTimeInterface |
||
| 33 | */ |
||
| 34 | protected $createdAt; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getSrc() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $src |
||
| 46 | * |
||
| 47 | * @return CustomCollectionImage |
||
| 48 | */ |
||
| 49 | public function setSrc($src) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return int |
||
| 58 | */ |
||
| 59 | public function getWidth() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @param int $width |
||
| 66 | * |
||
| 67 | * @return CustomCollectionImage |
||
| 68 | */ |
||
| 69 | public function setWidth($width) |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return int |
||
| 78 | */ |
||
| 79 | public function getHeight() |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @param int $height |
||
| 86 | * |
||
| 87 | * @return CustomCollectionImage |
||
| 88 | */ |
||
| 89 | public function setHeight($height) |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @return \DateTimeInterface |
||
| 98 | */ |
||
| 99 | public function getCreatedAt() |
||
| 103 | |||
| 104 | /** |
||
| 105 | * @param \DateTimeInterface $createdAt |
||
| 106 | * |
||
| 107 | * @return CustomCollectionImage |
||
| 108 | */ |
||
| 109 | public function setCreatedAt($createdAt) |
||
| 115 | } |