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

Breadcrumb

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

function ContainerBuilder::setResources

Sets the resources for this configuration.

Parameters

array<string, ResourceInterface> $resources:

Return value

$this

File

vendor/symfony/dependency-injection/ContainerBuilder.php, line 327

Class

ContainerBuilder
ContainerBuilder is a DI container that provides an API to easily describe services.

Namespace

Symfony\Component\DependencyInjection

Code

public function setResources(array $resources) : static {
    if (!$this->trackResources) {
        return $this;
    }
    $this->resources = $resources;
    return $this;
}

API Navigation

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