api/symfony/Component/Validator/Mapping/Loader/LoaderChain.yaml
2024-09-26 02:03:21 -07:00

69 lines
1.5 KiB
YAML

name: LoaderChain
class_comment: '# * Loads validation metadata from multiple {@link LoaderInterface}
instances.
# *
# * Pass the loaders when constructing the chain. Once
# * {@link loadClassMetadata()} is called, that method will be called on all
# * loaders in the chain.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies:
- name: MappingException
type: class
source: Symfony\Component\Validator\Exception\MappingException
- name: ClassMetadata
type: class
source: Symfony\Component\Validator\Mapping\ClassMetadata
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: loaders
comment: '# * Loads validation metadata from multiple {@link LoaderInterface} instances.
# *
# * Pass the loaders when constructing the chain. Once
# * {@link loadClassMetadata()} is called, that method will be called on all
# * loaders in the chain.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>
# */
# class LoaderChain implements LoaderInterface
# {
# /**
# * @param LoaderInterface[] $loaders The metadata loaders to use
# *
# * @throws MappingException If any of the loaders has an invalid type'
- name: loadClassMetadata
visibility: public
parameters:
- name: metadata
comment: null
- name: getLoaders
visibility: public
parameters: []
comment: '# * @return LoaderInterface[]'
traits:
- Symfony\Component\Validator\Exception\MappingException
- Symfony\Component\Validator\Mapping\ClassMetadata
interfaces:
- LoaderInterface