public function Definition::__construct in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php \Symfony\Component\DependencyInjection\Definition::__construct()
Constructor.
@api
Parameters
string|null $class The service class:
array $arguments An array of arguments to pass to the service constructor:
1 call to Definition::__construct()
- DefinitionDecorator::__construct in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ DefinitionDecorator.php - Constructor.
1 method overrides Definition::__construct()
- DefinitionDecorator::__construct in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ DefinitionDecorator.php - Constructor.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Definition.php, line 54
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function __construct($class = null, array $arguments = array()) {
$this->class = $class;
$this->arguments = $arguments;
}