| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Box |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var int |
||
| 9 | */ |
||
| 10 | private $height; |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $width; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param int $height |
||
| 18 | * @param int $width |
||
| 19 | */ |
||
| 20 | public function __construct($width, $height) |
||
| 21 | { |
||
| 22 | $this->width = $width; |
||
| 23 | $this->height = $height; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return int |
||
| 28 | */ |
||
| 29 | public function getHeight() |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return int |
||
| 36 | */ |
||
| 37 | public function getWidth() |
||
| 40 | } |
||
| 41 | } |
||
| 42 |