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

Breadcrumb

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

function ParameterBagInterface::add

Adds parameters to the service container parameters.

Throws

LogicException if the parameter cannot be added

1 method overrides ParameterBagInterface::add()
ParameterBag::add in vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php
Adds parameters to the service container parameters.

File

vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php, line 36

Class

ParameterBagInterface
ParameterBagInterface is the interface implemented by objects that manage service container parameters.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function add(array $parameters) : void;
RSS feed
Powered by Drupal