You are here

class XmlFilesLoader in Plug 7

Loads validation metadata from a list of XML files.

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

Hierarchy

Expanded class hierarchy of XmlFilesLoader

See also

FilesLoader

1 file declares its use of XmlFilesLoader
ValidatorBuilder.php in lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php, line 22

Namespace

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

  /**
   * {@inheritdoc}
   */
  public function getFileLoaderInstance($file) {
    return new XmlFileLoader($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
XmlFilesLoader::getFileLoaderInstance public function Creates a loader for the given file path. Overrides FilesLoader::getFileLoaderInstance