Symfony\Component\Routing\Matcher\UrlMatcher::getAttributes
Returns an array of values to use as request attributes.
As this method requires the Route object, it is not available in matchers that do not have access to the matched Route instance (like the PHP and Apache matcher dumpers).
Signature
protected function getAttributes(Route
$route,
string
$name,
array
$attributes )
Parameters
$route
— Symfony\Component\Routing\Route- The route we are matching against
$name
— string- The name of the route
$attributes
— array- An array of attributes from the matcher
Returns
- array
- An array of parameters