public function 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

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 189

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

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