Revert "merged branch francisbesset/routing_constant_usage (PR #6449)"
This reverts commitc0e341c618
, reversing changes made to35f5bca585
.
This commit is contained in:
parent
c0e341c618
commit
48920722f7
@ -76,7 +76,7 @@ class XmlFileLoader extends FileLoader
|
||||
*/
|
||||
protected function parseNode(RouteCollection $collection, \DOMElement $node, $path, $file)
|
||||
{
|
||||
if (static::NAMESPACE_URI !== $node->namespaceURI) {
|
||||
if (self::NAMESPACE_URI !== $node->namespaceURI) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -192,7 +192,7 @@ class XmlFileLoader extends FileLoader
|
||||
$requirements = array();
|
||||
$options = array();
|
||||
|
||||
foreach ($node->getElementsByTagNameNS(static::NAMESPACE_URI, '*') as $n) {
|
||||
foreach ($node->getElementsByTagNameNS(self::NAMESPACE_URI, '*') as $n) {
|
||||
switch ($n->localName) {
|
||||
case 'default':
|
||||
$defaults[$n->getAttribute('key')] = trim($n->textContent);
|
||||
|
Reference in New Issue
Block a user