You are here

public function RouteCollection::getResources in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/RouteCollection.php \Symfony\Component\Routing\RouteCollection::getResources()

Returns an array of resources loaded to build this collection.

Return value

ResourceInterface[] An array of resources

1 method overrides RouteCollection::getResources()
ChainRouteCollection::getResources in vendor/symfony-cmf/routing/ChainRouteCollection.php
Returns an array of resources loaded to build this collection.

File

vendor/symfony/routing/RouteCollection.php, line 263

Class

RouteCollection
A RouteCollection represents a set of Route instances.

Namespace

Symfony\Component\Routing

Code

public function getResources() {
  return array_unique($this->resources);
}