public function Definition::setArguments in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php \Symfony\Component\DependencyInjection\Definition::setArguments()
Sets the arguments to pass to the service constructor/factory method.
@api
Parameters
array $arguments An array of arguments:
Return value
Definition The current instance
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Definition.php, line 269
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function setArguments(array $arguments) {
$this->arguments = $arguments;
return $this;
}