Свойство | Type | Description | |
---|---|---|---|
$commands | string[] | Available console commands. | |
$controllerNamespace | |||
$currentRequest | |||
$debug | |||
$environment | string | The environment that the application is running on. dev, prod or test. | |
$name | string | The name for the application. | |
$plugins | array | The installed application plugins. | |
$root | string | The root path for the application. | |
$routes | |||
$runtime | |||
$server | |||
$services | array | Application service definitions. | |
$timezone |
Свойство | Type | Description | |
---|---|---|---|
$bootstrapped | |||
$dispatcher | |||
$lastError | |||
$refreshing |
Méthode | Description | |
---|---|---|
bootstrap ( ) | ||
consoleCommands ( ) : array | Returns all console commands definitions. | |
defaultCommands ( ) : array | Returns the default console commands definitions. | |
defaultServices ( ) | ||
handleRequest ( blink\http\Request $request ) : mixed | ||
init ( ) | ||
makeRequest ( $config = [] ) | ||
route ( $method, $route, $handler ) | ||
shutdown ( ) | Shutdown the application. |
Méthode | Description | |
---|---|---|
afterAction ( $action, $request, $response ) | ||
beforeAction ( $action, $request ) | ||
createAction ( $handler ) | ||
dispatch ( $request ) | ||
exceptionToArray ( $exception ) | ||
exec ( $request, $response ) | ||
formatException ( $e, $response ) | ||
initializeConfig ( ) | ||
internalServerError ( ) | ||
refreshServices ( ) | ||
registerPlugins ( ) | ||
registerRoutes ( ) | ||
registerServices ( ) | ||
runAction ( $action, $args, $request, $response ) |
public consoleCommands ( ) : array | ||
Résultat | array |
public defaultCommands ( ) : array | ||
Résultat | array |
public handleRequest ( blink\http\Request $request ) : mixed | ||
$request | blink\http\Request | |
Résultat | mixed |
public string[] $commands | ||
Résultat | string[] |
public string $environment | ||
Résultat | string |