public function RouteCollection::getResources

Returns an array of resources loaded to build this collection.

Return value

ResourceInterface[] An array of resources

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RouteCollection.php, line 257

Class

RouteCollection
A RouteCollection represents a set of Route instances.

Namespace

Symfony\Component\Routing

Code

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