platform/api/symfony/Component/HttpKernel/Attribute/ValueResolver.yaml

36 lines
934 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: ValueResolver
class_comment: null
dependencies:
- name: ValueResolverInterface
type: class
source: Symfony\Component\HttpKernel\Controller\ValueResolverInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: resolver
- name: disabled
default: 'false'
comment: '# * Defines which value resolver should be used for a given parameter.
# */
# #[\Attribute(\Attribute::TARGET_PARAMETER | \Attribute::IS_REPEATABLE)]
# class ValueResolver
# {
# /**
# * @param class-string<ValueResolverInterface>|string $resolver The class name
of the resolver to use
# * @param bool $disabled Whether this
value resolver is disabled; this allows to enable a value resolver globally while
disabling it in specific cases'
traits:
- Symfony\Component\HttpKernel\Controller\ValueResolverInterface
interfaces: []