platform/api/symfony/Component/DependencyInjection/Attribute/AsAlias.yaml
2024-09-02 10:44:11 -07:00

34 lines
704 B
YAML

name: AsAlias
class_comment: null
dependencies: []
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: id
default: 'null'
- name: public
default: 'false'
comment: '# * 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>
# */
# #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
# final class AsAlias
# {
# /**
# * @param string|null $id The id of the alias
# * @param bool $public Whether to declare the alias public'
traits: []
interfaces: []