1 | <?php |
||
24 | class Scheme extends AbstractComponent implements SchemeInterface |
||
25 | { |
||
26 | /** |
||
27 | * Validate and format the submitted string scheme |
||
28 | * |
||
29 | * @param string $scheme |
||
30 | * @throws InvalidArgumentException if the scheme is invalid |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 607 | protected function validate($scheme) |
|
42 | |||
43 | /** |
||
44 | * @inheritdoc |
||
45 | */ |
||
46 | 2 | public function __debugInfo() |
|
50 | |||
51 | /** |
||
52 | * Returns the instance string representation |
||
53 | * with its optional URI delimiters |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | 308 | public function getUriComponent() |
|
66 | } |
||
67 |