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

Breadcrumb

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

function PhpFileLoader::callConfigurator

1 call to PhpFileLoader::callConfigurator()
PhpFileLoader::load in vendor/symfony/routing/Loader/PhpFileLoader.php
Loads a PHP file.

File

vendor/symfony/routing/Loader/PhpFileLoader.php, line 62

Class

PhpFileLoader
PhpFileLoader loads routes from a PHP file.

Namespace

Symfony\Component\Routing\Loader

Code

protected function callConfigurator(callable $result, string $path, string $file) : RouteCollection {
    $collection = new RouteCollection();
    $result(new RoutingConfigurator($collection, $this, $path, $file, $this->env));
    return $collection;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal