public function RequestDataCollector::getRouteParams in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php \Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::getRouteParams()
Gets the route parameters.
The _route_params request attributes is automatically set by the RouterListener.
Return value
array The parameters
File
- vendor/
symfony/ http-kernel/ DataCollector/ RequestDataCollector.php, line 273
Class
- RequestDataCollector
- RequestDataCollector.
Namespace
Symfony\Component\HttpKernel\DataCollectorCode
public function getRouteParams() {
return isset($this->data['request_attributes']['_route_params']) ? $this->data['request_attributes']['_route_params'] : array();
}