api/symfony/Component/Validator/Mapping/Factory/BlackHoleMetadataFactory.yaml

39 lines
919 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: BlackHoleMetadataFactory
class_comment: '# * Metadata factory that does not store metadata.
# *
# * This implementation is useful if you want to validate values against
# * constraints only and you don''t need to add constraints to classes and
# * properties.
# *
# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: LogicException
type: class
source: Symfony\Component\Validator\Exception\LogicException
- name: MetadataInterface
type: class
source: Symfony\Component\Validator\Mapping\MetadataInterface
properties: []
methods:
- name: getMetadataFor
visibility: public
parameters:
- name: value
comment: null
- name: hasMetadataFor
visibility: public
parameters:
- name: value
comment: null
traits:
- Symfony\Component\Validator\Exception\LogicException
- Symfony\Component\Validator\Mapping\MetadataInterface
interfaces:
- MetadataFactoryInterface