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\LoaderCode
protected function callConfigurator(callable $result, string $path, string $file) : RouteCollection {
$collection = new RouteCollection();
$result(new RoutingConfigurator($collection, $this, $path, $file, $this->env));
return $collection;
}