1 | <?php |
||
9 | class ImageValueObject implements Image { |
||
10 | |||
11 | private $url; |
||
12 | private $widthInPx; |
||
13 | private $heightInPx; |
||
14 | |||
15 | public function __construct( string $url, int $widthInPx, int $heightInPx ) { |
||
20 | |||
21 | public function getUrl(): string { |
||
24 | |||
25 | public function getWidthInPx(): int { |
||
28 | |||
29 | public function getHeightInPx(): int { |
||
32 | |||
33 | } |
||
34 |