| Conditions | 2 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function parse( $idSerialization ) { |
||
| 36 | try { |
||
| 37 | list( $basePart, $relativePart ) |
||
| 38 | = HierarchicalEntityId::splitHierarchicalSerialization( $idSerialization ); |
||
| 39 | |||
| 40 | $base = $this->baseIdParser->parse( $basePart ); |
||
| 41 | return $this->newEntityId( $base, $relativePart ); |
||
| 42 | } catch ( InvalidArgumentException $ex ) { |
||
| 43 | throw new EntityIdParsingException( $ex->getMessage(), 0, $ex ); |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 50 |