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

Breadcrumb

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

function Psr4DirectoryLoader::__construct

File

vendor/symfony/routing/Loader/Psr4DirectoryLoader.php, line 29

Class

Psr4DirectoryLoader
A loader that discovers controller classes in a directory that follows PSR-4.

Namespace

Symfony\Component\Routing\Loader

Code

public function __construct(FileLocatorInterface $locator) {
    // PSR-4 directory loader has no env-aware logic, so we drop the $env constructor parameter.
    parent::__construct();
}

API Navigation

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