Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BoundArgument.php

function BoundArgument::setValues

Overrides ArgumentInterface::setValues

File

vendor/symfony/dependency-injection/Argument/BoundArgument.php, line 46

Class

BoundArgument
@author Guilhem Niot <guilhem.niot@gmail.com>

Namespace

Symfony\Component\DependencyInjection\Argument

Code

public function setValues(array $values) : void {
    if (5 === \count($values)) {
        [
            $this->value,
            $this->identifier,
            $this->used,
            $this->type,
            $this->file,
        ] = $values;
    }
    else {
        [
            $this->value,
            $this->identifier,
            $this->used,
        ] = $values;
    }
}
RSS feed
Powered by Drupal