PHP Class SebastiaanLuca\Router\Kernel

The extended HTTP kernel which should be extended by the application's kernel.
Inheritance: extends Illuminate\Foundation\Http\Kernel, implements Illuminate\Contracts\Http\Kernel
Show file Open project: sebastiaanluca/laravel-router

Protected Properties

Property Type Description
$routers array The routers to automatically map.

Public Methods

Method Description
getRouters ( ) : array Get the user-defined routers.

Protected Methods

Method Description
dispatchToRouter ( ) : Closure Get the route dispatcher callback.

Method Details

dispatchToRouter() protected method

Get the route dispatcher callback.
protected dispatchToRouter ( ) : Closure
return Closure

getRouters() public method

Get the user-defined routers.
public getRouters ( ) : array
return array

Property Details

$routers protected property

The routers to automatically map.
protected array $routers
return array