| 1 | <?php |
||
| 8 | class Utils |
||
| 9 | { |
||
| 10 | public static function getFullUrl(Route $route, array $bindings = []): string |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Transform parameters in URLs into real values (/users/{user} -> /users/2). |
||
| 19 | * Uses bindings specified by caller, otherwise just uses '1'. |
||
| 20 | * |
||
| 21 | * @param string $uri |
||
| 22 | * @param array $bindings |
||
| 23 | * |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | protected static function replaceUrlParameterBindings(string $uri, array $bindings) |
||
| 44 | } |
||
| 45 |