Symfony\Component\DependencyInjection\Loader\XmlFileLoader::parseFile
Parses a XML file.
Signature
protected function parseFile(string
$file )
Parameters
$file
— string- Path to a file
Returns
- SimpleXMLElement
Errors/Exceptions
-
InvalidArgumentException
- When loading of XML file returns error