| @@ 141-148 (lines=8) @@ | ||
| 138 | } |
|
| 139 | } |
|
| 140 | ||
| 141 | public function getOriginUri(UriInterface $uri) |
|
| 142 | { |
|
| 143 | if (array_key_exists((string)$uri, $this->redirects)) { |
|
| 144 | return $this->urls[$this->redirects[(string)$uri]]['url']; |
|
| 145 | } |
|
| 146 | ||
| 147 | return $uri; |
|
| 148 | } |
|
| 149 | ||
| 150 | public function getComingFrom(UriInterface $uri) |
|
| 151 | { |
|
| @@ 155-162 (lines=8) @@ | ||
| 152 | return $uri; |
|
| 153 | } |
|
| 154 | ||
| 155 | public function getSystem(UriInterface $uri) |
|
| 156 | { |
|
| 157 | if (array_key_exists((string)$uri, $this->redirects)) { |
|
| 158 | return $this->urls[$this->redirects[(string)$uri]]['system']; |
|
| 159 | } |
|
| 160 | ||
| 161 | return $this->urls[(string)$uri]['system']; |
|
| 162 | } |
|
| 163 | ||
| 164 | public function getSystems() |
|
| 165 | { |
|