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

Breadcrumb

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

class IteratorArgument

Represents a collection of values to lazily iterate over.

@author Titouan Galopin <galopintitouan@gmail.com>

Hierarchy

  • class \Symfony\Component\DependencyInjection\Argument\IteratorArgument implements \Symfony\Component\DependencyInjection\Argument\ArgumentInterface

Expanded class hierarchy of IteratorArgument

13 files declare their use of IteratorArgument
AnalyzeServiceReferencesPass.php in vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php
CheckTypeDeclarationsPass.php in vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php
ContainerBuilder.php in vendor/symfony/dependency-injection/ContainerBuilder.php
ContainerConfigurator.php in vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php
ControllerArgumentValueResolverPass.php in vendor/symfony/http-kernel/DependencyInjection/ControllerArgumentValueResolverPass.php

... See full list

File

vendor/symfony/dependency-injection/Argument/IteratorArgument.php, line 19

Namespace

Symfony\Component\DependencyInjection\Argument
View source
class IteratorArgument implements ArgumentInterface {
    private array $values;
    public function __construct(array $values) {
        $this->setValues($values);
    }
    public function getValues() : array {
        return $this->values;
    }
    public function setValues(array $values) : void {
        $this->values = $values;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
IteratorArgument::$values private property
IteratorArgument::getValues public function Overrides ArgumentInterface::getValues
IteratorArgument::setValues public function Overrides ArgumentInterface::setValues
IteratorArgument::__construct public function 1
RSS feed
Powered by Drupal