| @@ 56-58 (lines=3) @@ | ||
| 53 | $this->visibility = AdapterInterface::VISIBILITY_PRIVATE; |
|
| 54 | $this->base .= $parsed['user']; |
|
| 55 | ||
| 56 | if (isset($parsed['pass']) && $parsed['pass'] !== '') { |
|
| 57 | $this->base .= ':' . $parsed['pass']; |
|
| 58 | } |
|
| 59 | ||
| 60 | $this->base .= '@'; |
|
| 61 | }; |
|
| @@ 65-67 (lines=3) @@ | ||
| 62 | ||
| 63 | $this->base .= $parsed['host'] . '/'; |
|
| 64 | ||
| 65 | if (isset($parsed['path']) && $parsed['path'] !== '/') { |
|
| 66 | $this->base .= trim($parsed['path'], '/') . '/'; |
|
| 67 | } |
|
| 68 | } |
|
| 69 | ||
| 70 | /** |
|