| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | $relativePath = $relativePath->getRelativePath(); |
||
| 30 | } |
||
| 31 | |||
| 32 | if ($destinationAlias === NULL) { |
||
| 33 | $path = $this->destinationDirs[$this->default]; |
||
| 34 | } elseif (isset($this->destinationDirs[$destinationAlias])) { |
||
| 35 | $path = $this->destinationDirs[$destinationAlias]; |
||
| 36 | } else { |
||
| 37 | throw new InvalidArgumentException('Destination alias does not exists "' . $destinationAlias . '".'); |
||
| 44 |