Свойство | Тип | Описание | |
---|---|---|---|
$exit | Closure | Make exit() a closure so it can be manipulated during tests |
Свойство | Тип | Описание | |
---|---|---|---|
$baseComponentChain | |||
$bootstrap | |||
$componentContext | |||
$settings | array | The "http" settings |
Метод | Описание | |
---|---|---|
__construct ( |
||
canHandleRequest ( ) : boolean | This request handler can handle any web request. | |
getHttpRequest ( ) : |
Returns the currently handled HTTP request | |
getHttpResponse ( ) : |
Returns the HTTP response corresponding to the currently handled request | |
getPriority ( ) : integer | Returns the priority - how eager the handler is to actually handle the request. | |
handleRequest ( ) : void | Handles a HTTP request |
Метод | Описание | |
---|---|---|
addPoweredByHeader ( |
Adds an HTTP header to the Response which indicates that the application is powered by Flow. | |
boot ( ) : void | Boots up Flow to runtime | |
renderMajorVersion ( string $version ) : string | Renders a major version out of a full version string | |
renderMinorVersion ( string $version ) : string | Renders a minor version out of a full version string | |
resolveDependencies ( ) : void | Resolves a few dependencies of this request handler which can't be resolved automatically due to the early stage of the boot process this request handler is invoked at. |
public __construct ( |
||
$bootstrap |
protected addPoweredByHeader ( |
||
$response | ||
Результат | void |
public canHandleRequest ( ) : boolean | ||
Результат | boolean | If the request is a web request, TRUE otherwise FALSE |
public getHttpRequest ( ) : |
||
Результат |
public getHttpResponse ( ) : |
||
Результат |
public getPriority ( ) : integer | ||
Результат | integer | The priority of the request handler. |
public handleRequest ( ) : void | ||
Результат | void |
protected renderMajorVersion ( string $version ) : string | ||
$version | string | For example "2.3.7" |
Результат | string | For example "2" |
protected renderMinorVersion ( string $version ) : string | ||
$version | string | For example "2.3.7" |
Результат | string | For example "2.3" |
protected resolveDependencies ( ) : void | ||
Результат | void |
protected ComponentChain,Neos\Flow\Http\Component $baseComponentChain | ||
Результат |
protected Bootstrap,Neos\Flow\Core $bootstrap | ||
Результат |
protected ComponentContext,Neos\Flow\Http\Component $componentContext | ||
Результат |
public Closure $exit | ||
Результат | Closure |