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