AsAlias
in package
FinalYes
An attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given.
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$id
public
string|null
$id
= null
$public
public
bool
$public
= false
Methods
__construct()
public
__construct([string|null $id = null ][, bool $public = false ]) : mixed
Parameters
- $id : string|null = null
- $public : bool = false