platform/api/symfony/Component/DependencyInjection/ParameterBag/ContainerBagInterface.yaml

67 lines
1.5 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: ContainerBagInterface
class_comment: null
dependencies:
- name: ContainerInterface
type: class
source: Psr\Container\ContainerInterface
- name: ParameterNotFoundException
type: class
source: Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
properties: []
methods:
- name: all
visibility: public
parameters: []
comment: '# * ContainerBagInterface is the interface implemented by objects that
manage service container parameters.
# *
# * @author Nicolas Grekas <p@tchwork.com>
# */
# interface ContainerBagInterface extends ContainerInterface
# {
# /**
# * Gets the service container parameters.'
- name: resolveValue
visibility: public
parameters:
- name: value
comment: '# * Replaces parameter placeholders (%name%) by their values.
# *
# * @template TValue of array<array|scalar>|scalar
# *
# * @param TValue $value
# *
# * @psalm-return (TValue is scalar ? array|scalar : array<array|scalar>)
# *
# * @throws ParameterNotFoundException if a placeholder references a parameter
that does not exist'
- name: escapeValue
visibility: public
parameters:
- name: value
comment: '# * Escape parameter placeholders %.'
- name: unescapeValue
visibility: public
parameters:
- name: value
comment: '# * Unescape parameter placeholders %.'
traits:
- Psr\Container\ContainerInterface
- Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
interfaces: []