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

Breadcrumb

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

function ParameterBagInterface::get

Gets a service container parameter.

Throws

ParameterNotFoundException if the parameter is not defined

1 method overrides ParameterBagInterface::get()
ParameterBag::get in vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php
Gets a service container parameter.

File

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

Class

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

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function get(string $name) : array|bool|string|int|float|\UnitEnum|null;
RSS feed
Powered by Drupal