api/symfony/Component/HttpKernel/Attribute/ValueResolver.yaml
2024-09-26 02:03:21 -07:00

35 lines
934 B
YAML

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: []