Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. XmlFileLoader.php

function XmlFileLoader::loadFile

Throws

\InvalidArgumentException When loading of XML file fails because of syntax errors or when the XML structure is not as expected by the scheme - see validate()

1 call to XmlFileLoader::loadFile()
XmlFileLoader::load in vendor/symfony/routing/Loader/XmlFileLoader.php

File

vendor/symfony/routing/Loader/XmlFileLoader.php, line 235

Class

XmlFileLoader
XmlFileLoader loads XML routing files.

Namespace

Symfony\Component\Routing\Loader

Code

protected function loadFile(string $file) : \DOMDocument {
    return XmlUtils::loadFile($file, __DIR__ . static::SCHEME_PATH);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal