| 1 | <?php |
||
| 5 | trait HasWidthAndHeight |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var int |
||
| 9 | */ |
||
| 10 | protected $width; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | protected $height; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * [setWidth description] |
||
| 19 | * @param int $width |
||
| 20 | */ |
||
| 21 | public function setWidth($width) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * [getWidth description] |
||
| 33 | * @return int |
||
| 34 | */ |
||
| 35 | public function getWidth() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * [setHeight description] |
||
| 42 | * @param int $height |
||
| 43 | */ |
||
| 44 | public function setHeight($height) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * [getHeight description] |
||
| 56 | * @return int |
||
| 57 | */ |
||
| 58 | public function getHeight() |
||
| 62 | } |
||
| 63 |