| Conditions | 6 |
| Paths | 4 |
| Total Lines | 23 |
| Code Lines | 11 |
| Lines | 23 |
| Ratio | 100 % |
| Tests | 10 |
| CRAP Score | 6.027 |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | public function setLeaf(Mapper $leave); |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return null|CollectionMapper |
||
| 58 | */ |
||
| 59 | public function getLeafParent(); |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $collectionClass |
||
| 63 | * |
||
| 64 | * @return $this |
||
| 65 | */ |
||
| 66 | public function setLeafParentsCollectionType($collectionClass); |
||
| 67 | |||
| 68 | /** |
||
| 69 | * Get the nesting level. |
||
| 70 | * |
||
| 71 | * If there is no nested element the level is 0. |
||
| 72 | * If there is a nested element the level is 1. |
||
| 73 | * If there is a nested element with a nested element as well the level 2. |
||
| 74 | * |
||
| 75 | * ... and so forth |
||
| 76 | * |
||
| 77 | * @return int |
||
| 81 |