Symfony\Component\Routing\Loader\XmlFileLoader::parseImport
Parses an import and adds the routes in the resource to the RouteCollection.
Signature
protected function parseImport(RouteCollection
$collection,
DOMElement
$node,
string
$path,
string
$file )
Parameters
$collection
— Symfony\Component\Routing\RouteCollection- RouteCollection instance
$node
— \DOMElement- Element to parse that represents a Route
$path
— string- Full path of the XML file being processed
$file
— string- Loaded file name
Errors/Exceptions
-
InvalidArgumentException
- When the XML is invalid