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