| 1 | <?php |
||
| 23 | trait UrlUtils |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @return Request |
||
| 27 | */ |
||
| 28 | abstract public function getRequest(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Gets the url for provided path |
||
| 32 | * |
||
| 33 | * @param string $path |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 4 | public function getUrl($path) |
|
| 58 | |||
| 59 | /** |
||
| 60 | * Return Router path generator |
||
| 61 | * |
||
| 62 | * @return \Aura\Router\Generator |
||
| 63 | */ |
||
| 64 | 2 | protected function getRouterGenerator() |
|
| 70 | } |