public function ChainRouteCollection::getResources in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouteCollection.php \Symfony\Cmf\Component\Routing\ChainRouteCollection::getResources()
Returns an array of resources loaded to build this collection.
Return value
ResourceInterface[] An array of resources
Overrides RouteCollection::getResources
File
- vendor/
symfony-cmf/ routing/ ChainRouteCollection.php, line 244
Class
Namespace
Symfony\Cmf\Component\RoutingCode
public function getResources() {
$resources = array();
foreach ($this->routeCollections as $routeCollection) {
$resources = array_merge($resources, $routeCollection
->getResources());
}
return array_unique($resources);
}