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

Breadcrumb

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

function ServiceClosureArgument::__construct

File

vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php, line 25

Class

ServiceClosureArgument
Represents a service wrapped in a memoizing closure.

Namespace

Symfony\Component\DependencyInjection\Argument

Code

public function __construct(mixed $value) {
    $this->values = [
        $value,
    ];
}
RSS feed
Powered by Drupal