PHP Class Neos\Flow\Mvc\Routing\RoutingComponent

Inheritance: implements Neos\Flow\Http\Component\ComponentInterface
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$options array
$router Router

Public Methods

Method Description
__construct ( array $options = [] )
handle ( ComponentContext $componentContext ) : void Resolve a route for the request

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

handle() public method

Stores the resolved route values in the ComponentContext to pass them to other components. They can be accessed via ComponentContext::getParameter(outingComponent::class, 'matchResults');
public handle ( ComponentContext $componentContext ) : void
$componentContext Neos\Flow\Http\Component\ComponentContext
return void

Property Details

$options protected property

protected array $options
return array

$router protected property

protected Router,Neos\Flow\Mvc\Routing $router
return Router