public function PhpDumper::addExpressionLanguageProvider in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php \Symfony\Component\DependencyInjection\Dumper\PhpDumper::addExpressionLanguageProvider()
Parameters
ExpressionFunctionProviderInterface $provider:
Deprecated
since version 2.6.2, to be removed in 3.0. Use \Symfony\Component\DependencyInjection\ContainerBuilder::addExpressionLanguageProvider instead.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Dumper/ PhpDumper.php, line 1415
Class
- PhpDumper
- PhpDumper dumps a service container as a PHP class.
Namespace
Symfony\Component\DependencyInjection\DumperCode
public function addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider) {
trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6.2 and will be removed in 3.0. Use the Symfony\\Component\\DependencyInjection\\ContainerBuilder::addExpressionLanguageProvider method instead.', E_USER_DEPRECATED);
$this->expressionLanguageProviders[] = $provider;
}