You are here

public function Definition::setArguments in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::setArguments()

Sets the arguments to pass to the service constructor/factory method.

Parameters

array $arguments An array of arguments:

Return value

Definition The current instance

File

vendor/symfony/dependency-injection/Definition.php, line 253

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setArguments(array $arguments) {
  $this->arguments = $arguments;
  return $this;
}