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

CloneableFinalInstantiable
Properties
public ?string $name
Methods
public __construct(?string $name = NULL)
 
  • param string|null $name The name of the target autowiring alias
public getParsedName() : string
public static parseName(ReflectionParameter $parameter, ?self $attribute = NULL, ?string $parsedName = NULL) : string
Methods
public static parseName(ReflectionParameter $parameter, ?self $attribute = NULL, ?string $parsedName = NULL) : string
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration