$resolverClass
$resolverClass : string
Class of the resolver
The ControllerRoute class
$defaultResponse : \Orpheus\InputController\OutputResponse
Default response if controller returns is invalid
getRoute(string $name) : \Orpheus\Core\Route
Get Route object for this name
string | $name |
isMatchingRequest(\Orpheus\InputController\InputRequest $request, array $values = array(), boolean $alternative = false)
Test if the route matches the given $request
\Orpheus\InputController\InputRequest | $request | |
array | $values | |
boolean | $alternative | True if we are looking for an alternative route, because we did not find any primary one |
getRoutes() : array<mixed,\Orpheus\InputController\ControllerRoute>
Get all registered routes Routes are commonly stored in the configuration
run(\Orpheus\InputController\InputRequest $request) : \Orpheus\InputController\OutputResponse
Run the $request by processing the matching controller
\Orpheus\InputController\InputRequest | $request |
processUserException(\Orpheus\Exception\UserException $exception, array $values = array()) : \Orpheus\InputController\OutputResponse
Process the given $exception with the default response
\Orpheus\Exception\UserException | $exception | |
array | $values |
processException(\Orpheus\Exception\UserException $exception) : \Orpheus\InputController\OutputResponse
Process the given $exception with the default response
\Orpheus\Exception\UserException | $exception |
instanciateController() : \Orpheus\InputController\Controller
Instanciate the controller and return it