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

Breadcrumb

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

function Target::__construct

Same name in this branch
  1. 11.1.x vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php \Doctrine\Common\Annotations\Annotation\Target::__construct()

Parameters

string|null $name The name of the target autowiring alias:

File

vendor/symfony/dependency-injection/Attribute/Target.php, line 28

Class

Target
An attribute to tell how a dependency is used and hint named autowiring aliases.

Namespace

Symfony\Component\DependencyInjection\Attribute

Code

public function __construct(?string $name = null) {
}
RSS feed
Powered by Drupal