api/symfony/Component/DependencyInjection/Alias.yaml

75 lines
1.7 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: Alias
class_comment: null
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: id
- name: public
default: 'false'
comment: null
- name: isPublic
visibility: public
parameters: []
comment: '# * Checks if this DI Alias should be public or not.'
- name: setPublic
visibility: public
parameters:
- name: boolean
comment: '# * Sets if this Alias is public.
# *
# * @return $this'
- name: isPrivate
visibility: public
parameters: []
comment: '# * Whether this alias is private.'
- name: setDeprecated
visibility: public
parameters:
- name: package
- name: version
- name: message
comment: '# * Whether this alias is deprecated, that means it should not be referenced
# * anymore.
# *
# * @param string $package The name of the composer package that is triggering
the deprecation
# * @param string $version The version of the package that introduced the deprecation
# * @param string $message The deprecation message to use
# *
# * @return $this
# *
# * @throws InvalidArgumentException when the message template is invalid'
- name: isDeprecated
visibility: public
parameters: []
comment: null
- name: getDeprecation
visibility: public
parameters:
- name: id
comment: '# * @param string $id Service id relying on this definition'
- name: __toString
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
interfaces: []