Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CollectionConfigurator.php

function CollectionConfigurator::collection

Creates a sub-collection.

File

vendor/symfony/routing/Loader/Configurator/CollectionConfigurator.php, line 64

Class

CollectionConfigurator
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\Routing\Loader\Configurator

Code

public final function collection(string $name = '') : self {
    return new self($this->collection, $this->name . $name, $this, $this->prefixes);
}
RSS feed
Powered by Drupal