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

Breadcrumb

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

function AbstractArgument::__construct

File

vendor/symfony/dependency-injection/Argument/AbstractArgument.php, line 22

Class

AbstractArgument
Represents an abstract service argument, which have to be set by a compiler pass or a DI extension.

Namespace

Symfony\Component\DependencyInjection\Argument

Code

public function __construct(string $text = '') {
    $this->text = trim($text, '. ');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal