Target
in package
FinalYes
An attribute to tell how a dependency is used and hint named autowiring aliases.
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_PARAMETER
Table of Contents
Properties
- $name : string|null
Methods
- __construct() : mixed
- getParsedName() : string
- parseName() : string
Properties
$name
public
string|null
$name
= null
Methods
__construct()
public
__construct([string|null $name = null ]) : mixed
Parameters
- $name : string|null = null
getParsedName()
public
getParsedName() : string
Return values
stringparseName()
public
static parseName(ReflectionParameter $parameter[, self|null &$attribute = null ][, string|null &$parsedName = null ]) : string
Parameters
- $parameter : ReflectionParameter
- $attribute : self|null = null
- $parsedName : string|null = null