api/symfony/Component/DependencyInjection/ParameterBag/FrozenParameterBag.yaml

73 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: FrozenParameterBag
class_comment: '# * Holds read-only parameters.
# *
# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: LogicException
type: class
source: Symfony\Component\DependencyInjection\Exception\LogicException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: parameters
default: '[]'
- name: deprecatedParameters
default: '[]'
comment: '# * Holds read-only parameters.
# *
# * @author Fabien Potencier <fabien@symfony.com>
# */
# class FrozenParameterBag extends ParameterBag
# {
# /**
# * For performance reasons, the constructor assumes that
# * all keys are already lowercased.
# *
# * This is always the case when used internally.'
- name: clear
visibility: public
parameters: []
comment: null
- name: add
visibility: public
parameters:
- name: parameters
comment: null
- name: set
visibility: public
parameters:
- name: name
- name: value
comment: null
- name: deprecate
visibility: public
parameters:
- name: name
- name: package
- name: version
- name: message
default: '''The parameter "%s" is deprecated.'''
comment: null
- name: remove
visibility: public
parameters:
- name: name
comment: null
traits:
- Symfony\Component\DependencyInjection\Exception\LogicException
interfaces: []