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

46 lines
1.1 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: MetadataFactoryInterface
class_comment: null
dependencies:
- name: NoSuchMetadataException
type: class
source: Symfony\Component\Validator\Exception\NoSuchMetadataException
- name: MetadataInterface
type: class
source: Symfony\Component\Validator\Mapping\MetadataInterface
properties: []
methods:
- name: getMetadataFor
visibility: public
parameters:
- name: value
comment: '# * Returns {@link \Symfony\Component\Validator\Mapping\MetadataInterface}
instances for values.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>
# */
# interface MetadataFactoryInterface
# {
# /**
# * Returns the metadata for the given value.
# *
# * @throws NoSuchMetadataException If no metadata exists for the given value'
- name: hasMetadataFor
visibility: public
parameters:
- name: value
comment: '# * Returns whether the class is able to return metadata for the given
value.'
traits:
- Symfony\Component\Validator\Exception\NoSuchMetadataException
- Symfony\Component\Validator\Mapping\MetadataInterface
interfaces: []