Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::resolveValue PHP Method

resolveValue() public method

Replaces parameter placeholders (%name%) by their values.
public resolveValue ( mixed $value )
$value mixed A value
    function resolveValue($value);

Usage Example

 /**
  * @return array
  */
 private function getIgnoredServicePatterns()
 {
     try {
         return (array) $this->parameterBag->resolveValue("%autowiring.ignored_services%");
     } catch (ParameterNotFoundException $exception) {
         return [];
     }
 }
All Usage Examples Of Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::resolveValue