Symfony\Component\Routing\Loader\XmlFileLoader::parseConfigs
Parses the config elements (default, requirement, option).
Signature
private function parseConfigs(DOMElement
$node,
string
$path )
Parameters
$node
— \DOMElement- Element to parse that contains the configs
$path
— string- Full path of the XML file being processed
Returns
- array
- An array with the defaults as first item, requirements as second and options as third.
Errors/Exceptions
-
InvalidArgumentException
- When the XML is invalid