class RuntimeSequenceInvokingRequestHandler implements RequestHandlerInterface (View source)

A request handler which boots up Flow into a basic runtime level and then returns without actually further handling anything.

As this request handler will be the "active" request handler returned by the bootstrap's getActiveRequestHandler() method.

Properties

protected $bootstrap

Methods

__construct(Bootstrap $bootstrap)

Constructor

mixed
canHandleRequest()

This request handler can handle requests in Testing Context.

int
getPriority()

Returns the priority - how eager the handler is to actually handle the request.

void
handleRequest()

Handles a command line request

Details

__construct(Bootstrap $bootstrap)

Constructor

Parameters

Bootstrap $bootstrap

mixed canHandleRequest()

This request handler can handle requests in Testing Context.

Return Value

mixed

true or an integer > 0 if it can handle the request, otherwise false or an integer < 0

int getPriority()

Returns the priority - how eager the handler is to actually handle the request.

As this request handler can only be used as a preselected request handler, the priority for all other cases is 0.

Return Value

int

The priority of the request handler

void handleRequest()

Handles a command line request

Return Value

void