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

Breadcrumb

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

function ContainerBagInterface::resolveValue

Replaces parameter placeholders (%name%) by their values.

@template TValue of array<array|scalar>|scalar

@psalm-return (TValue is scalar ? array|scalar : array<array|scalar>)

Parameters

TValue $value:

Throws

ParameterNotFoundException if a placeholder references a parameter that does not exist

File

vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php, line 40

Class

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

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function resolveValue(mixed $value) : mixed;
RSS feed
Powered by Drupal