Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function createAbsolutePath($relativePath) |
||
43 | { |
||
44 | if ($relativePath instanceof IStoreFile) { |
||
45 | $relativePath = $relativePath->getRelativePath(); |
||
46 | } |
||
47 | |||
48 | $path = $this->destinationDirs[$this->alias] . DIRECTORY_SEPARATOR . $relativePath; |
||
49 | $this->alias = $this->default; |
||
50 | return $path; |
||
51 | } |
||
52 | |||
54 |