| Total Complexity | 11 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Coverage | 51.85% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class WorkingVolume implements Box, JsonSerializable |
||
| 18 | { |
||
| 19 | 4 | public function __construct( |
|
| 25 | 4 | } |
|
| 26 | |||
| 27 | 4 | public function getReference(): string |
|
| 28 | { |
||
| 29 | 4 | return "Working Volume {$this->width}x{$this->length}x{$this->depth}"; |
|
| 30 | } |
||
| 31 | |||
| 32 | public function getOuterWidth(): int |
||
| 33 | { |
||
| 34 | return $this->width; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getOuterLength(): int |
||
| 38 | { |
||
| 39 | return $this->length; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getOuterDepth(): int |
||
| 43 | { |
||
| 44 | return $this->depth; |
||
| 45 | } |
||
| 46 | |||
| 47 | 4 | public function getEmptyWeight(): int |
|
| 50 | } |
||
| 51 | |||
| 52 | 4 | public function getInnerWidth(): int |
|
| 53 | { |
||
| 54 | 4 | return $this->width; |
|
| 55 | } |
||
| 56 | |||
| 57 | 4 | public function getInnerLength(): int |
|
| 58 | { |
||
| 59 | 4 | return $this->length; |
|
| 60 | } |
||
| 61 | |||
| 62 | 4 | public function getInnerDepth(): int |
|
| 65 | } |
||
| 66 | |||
| 67 | 4 | public function getMaxWeight(): int |
|
| 70 | } |
||
| 71 | |||
| 72 | public function jsonSerialize(): array |
||
| 80 | ]; |
||
| 81 | } |
||
| 82 | } |
||
| 83 |