Dispatches a request based on a request object (an instance or subclass of
lithium\net\http\Request).
public static run ( object $request, array $options = [] ) : mixed | ||
$request | object | An instance of a request object (usually `lithium\action\Request`) with HTTP request information. |
$options | array | |
return | mixed | Returns the value returned from the callable object retrieved from `Dispatcher::_callable()`, which is either a string or an instance of `lithium\action\Response`. |