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 19

Namespace

Symfony\Component\Routing\Tests\Fixtures
View source
class CustomXmlFileLoader extends XmlFileLoader {
  protected function validate(\DOMDocument $dom) {
    return true;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CustomXmlFileLoader::validate protected function Validates a loaded XML file. Overrides XmlFileLoader::validate
XmlFileLoader::getXmlErrors private function Retrieves libxml errors and clears them.
XmlFileLoader::load public function Loads an XML file.
XmlFileLoader::loadFile protected function Loads an XML file.
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::supports public function @api