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

Breadcrumb

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

function ServicesConfigurator::load

Registers a PSR-4 namespace using a glob pattern.

File

vendor/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php, line 129

Class

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

Namespace

Symfony\Component\DependencyInjection\Loader\Configurator

Code

public final function load(string $namespace, string $resource) : PrototypeConfigurator {
    return new PrototypeConfigurator($this, $this->loader, $this->defaults, $namespace, $resource, true, $this->path);
}
RSS feed
Powered by Drupal