class CustomXmlFileLoader

XmlFileLoader with schema validation turned off

Hierarchy

  • class \Symfony\Component\Routing\Loader\XmlFileLoader extends \Symfony\Component\Config\Loader\FileLoader

Expanded class hierarchy of CustomXmlFileLoader

1 file declares its use of CustomXmlFileLoader
XmlFileLoaderTest.php in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/XmlFileLoaderTest.php

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php, line 20

Namespace

Symfony\Component\Routing\Tests\Fixtures
View source
class CustomXmlFileLoader extends XmlFileLoader {
  protected function loadFile($file) {
    return XmlUtils::loadFile($file, function () {
      return true;
    });
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CustomXmlFileLoader::loadFile protected function Loads an XML file. Overrides XmlFileLoader::loadFile
XmlFileLoader::load public function Loads an XML file.
XmlFileLoader::NAMESPACE_URI constant
XmlFileLoader::parseConfigs private function Parses the config elements (default, requirement, option).
XmlFileLoader::parseImport protected function Parses an import and adds the routes in the resource to the RouteCollection.
XmlFileLoader::parseNode protected function Parses a node from a loaded XML file.
XmlFileLoader::parseRoute protected function Parses a route and adds it to the RouteCollection.
XmlFileLoader::SCHEME_PATH constant
XmlFileLoader::supports public function @api