Symfony\Component\Routing\Loader\XmlFileLoader::parseNode
Parses a node from a loaded XML file.
Signature
protected function parseNode(RouteCollection
$collection,
DOMElement
$node,
string
$path,
string
$file )
Parameters
$collection
— Symfony\Component\Routing\RouteCollection- Collection to associate with the node
$node
— \DOMElement- Element to parse
$path
— string- Full path of the XML file being processed
$file
— string- Loaded file name
Errors/Exceptions
-
InvalidArgumentException
- When the XML is invalid