| 1 | <?php |
||
| 15 | class FrontendRequests extends PublicRoute |
||
| 16 | { |
||
| 17 | |||
| 18 | |||
| 19 | /** |
||
| 20 | * returns true if the current request matches this route |
||
| 21 | * child classes can override and use Request directly to match route with request |
||
| 22 | * or supply a RouteMatchSpecification class and just use the below |
||
| 23 | * |
||
| 24 | * @return bool |
||
| 25 | * @since $VID:$ |
||
| 26 | */ |
||
| 27 | public function matchesCurrentRequest() |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * @since $VID:$ |
||
| 35 | */ |
||
| 36 | protected function registerDependencies() |
||
| 47 | |||
| 48 | |||
| 49 | /** |
||
| 50 | * implements logic required to run during request |
||
| 51 | * |
||
| 52 | * @return bool |
||
| 53 | * @since $VID:$ |
||
| 54 | */ |
||
| 55 | protected function requestHandler() |
||
| 61 | } |
||
| 62 |