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

Breadcrumb

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

function BoundArgument::__construct

File

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

Class

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

Namespace

Symfony\Component\DependencyInjection\Argument

Code

public function __construct(mixed $value, bool $trackUsage = true, int $type = 0, ?string $file = null) {
    if ($trackUsage) {
        $this->identifier = ++self::$sequence;
    }
    else {
        $this->used = true;
    }
}
RSS feed
Powered by Drupal