public function Definition::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::__construct()
Constructor.
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 vendor/
symfony/ dependency-injection/ DefinitionDecorator.php - Constructor.
1 method overrides Definition::__construct()
- DefinitionDecorator::__construct in vendor/
symfony/ dependency-injection/ DefinitionDecorator.php - Constructor.
File
- vendor/
symfony/ dependency-injection/ Definition.php, line 50
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;
}