| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 139 | public static function fromOrientatedItem(OrientatedItem $orientatedItem, int $x, int $y, int $z): self |
||
| 140 | { |
||
| 141 | return new static( |
||
| 142 | $orientatedItem->getItem(), |
||
| 143 | $x, |
||
| 144 | $y, |
||
| 145 | $z, |
||
| 146 | $orientatedItem->getWidth(), |
||
| 147 | $orientatedItem->getLength(), |
||
| 148 | $orientatedItem->getDepth() |
||
| 149 | ); |
||
| 150 | } |
||
| 151 | |||
| 160 |