Свойство | Тип | Описание | |
---|---|---|---|
$api | The Dingo API router. | ||
$namespace | string | The default controller namespace. | |
$router | The routing instance. |
Метод | Описание | |
---|---|---|
__construct ( Illuminate\Contracts\Routing\Registrar $router ) | Router constructor. | |
getNamespace ( string | null $suffix = null ) : string | Get the default namespace with the suffix attached. | |
map ( ) | Map the routes. |
Метод | Описание | |
---|---|---|
setUpApiRouter ( ) | Assign the API router if the Dingo API package is installed. |
public __construct ( Illuminate\Contracts\Routing\Registrar $router ) | ||
$router | Illuminate\Contracts\Routing\Registrar |
protected setUpApiRouter ( ) |
protected Router,Dingo\Api\Routing $api | ||
Результат |
protected string $namespace | ||
Результат | string |