| 1 | <?php |
||
| 24 | class Normalize extends AbstractUriModifier |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Return a Uri object modified according to the modifier |
||
| 28 | * |
||
| 29 | * @param Uri|UriInterface $uri |
||
| 30 | * |
||
| 31 | * @return Uri|UriInterface |
||
| 32 | */ |
||
| 33 | 42 | public function __invoke($uri) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Return the default modifier to apply on any URI object |
||
| 48 | * |
||
| 49 | * @return array |
||
| 50 | */ |
||
| 51 | 42 | protected function getDefaultModifiers() |
|
| 64 | } |
||
| 65 |