CollectionConfigurator example

$mergedCollection = new RouteCollection();
        foreach ($imported as $subCollection) {
            $mergedCollection->addCollection($subCollection);
        }

        return new ImportConfigurator($this->collection, $mergedCollection);
    }

    final public function collection(string $name = ''): CollectionConfigurator
    {
        return new CollectionConfigurator($this->collection, $name);
    }

    /** * Get the current environment to be able to write conditional configuration. */
    final public function env(): ?string
    {
        return $this->env;
    }

    final public function withPath(string $path)static
    {
$mergedCollection = new RouteCollection();
        foreach ($imported as $subCollection) {
            $mergedCollection->addCollection($subCollection);
        }

        return new ImportConfigurator($this->collection, $mergedCollection);
    }

    final public function collection(string $name = ''): CollectionConfigurator
    {
        return new CollectionConfigurator($this->collection, $name);
    }

    /** * Get the current environment to be able to write conditional configuration. */
    final public function env(): ?string
    {
        return $this->env;
    }

    final public function withPath(string $path)static
    {
Home | Imprint | This part of the site doesn't use cookies.