class AsAlias
An attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given.
@author Alan Poulain <contact@alanpoulain.eu>
Hierarchy
- class \Symfony\Component\DependencyInjection\Attribute\AsAlias
Expanded class hierarchy of AsAlias
1 file declares its use of AsAlias
- FileLoader.php in vendor/
symfony/ dependency-injection/ Loader/ FileLoader.php
File
-
vendor/
symfony/ dependency-injection/ Attribute/ AsAlias.php, line 19
Namespace
Symfony\Component\DependencyInjection\AttributeView source
final class AsAlias {
/**
* @param string|null $id The id of the alias
* @param bool $public Whether to declare the alias public
*/
public function __construct(?string $id = null, bool $public = false) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
AsAlias::__construct | public | function |