You are here

class YamlFilesLoader in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Mapping/Loader/YamlFilesLoader.php \Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader

Loads validation metadata from a list of YAML files.

@author Bulat Shakirzyanov <mallluhuct@gmail.com> @author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

Expanded class hierarchy of YamlFilesLoader

See also

FilesLoader

1 file declares its use of YamlFilesLoader
ValidatorBuilder.php in vendor/symfony/validator/ValidatorBuilder.php

File

vendor/symfony/validator/Mapping/Loader/YamlFilesLoader.php, line 22

Namespace

Symfony\Component\Validator\Mapping\Loader
View source
class YamlFilesLoader extends FilesLoader {

  /**
   * {@inheritdoc}
   */
  public function getFileLoaderInstance($file) {
    return new YamlFileLoader($file);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FilesLoader::getFileLoaders protected function Returns an array of file loaders for the given file paths.
FilesLoader::__construct public function Creates a new loader. Overrides LoaderChain::__construct 1
LoaderChain::$loaders protected property
LoaderChain::loadClassMetadata public function Loads validation metadata into a {@link ClassMetadata} instance. Overrides LoaderInterface::loadClassMetadata
YamlFilesLoader::getFileLoaderInstance public function Creates a loader for the given file path. Overrides FilesLoader::getFileLoaderInstance