1 | <?php |
||
22 | trait UriBuilderTrait |
||
23 | { |
||
24 | /** |
||
25 | * Normalize URI components hash |
||
26 | * |
||
27 | * @param array $components a hash representation of the URI components |
||
28 | * similar to PHP parse_url function result |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | 692 | protected static function normalizeUriHash(array $components) |
|
45 | |||
46 | /** |
||
47 | * Format the user info |
||
48 | * |
||
49 | * @param string $user |
||
50 | * @param string $pass |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | 57 | protected static function buildUserInfo($user, $pass) |
|
67 | } |
||
68 |