| Conditions | 5 | 
| Paths | 4 | 
| Total Lines | 14 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 5 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php  | 
            ||
| 30 | public function supports($object, $targetClass)  | 
            ||
| 31 |     { | 
            ||
| 32 |         if (is_array($object) || $object instanceof \Traversable) { | 
            ||
| 33 |             foreach ($object as $element) { | 
            ||
| 34 |                 if (!$this->modelTransformer->supports($element, $targetClass)) { | 
            ||
| 35 | return false;  | 
            ||
| 36 | }  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | return true;  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | return false;  | 
            ||
| 43 | }  | 
            ||
| 44 | |||
| 66 |