Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5798f5

Browse files
committed
Allow dots in Config node names
1 parent 85ae039 commit d5798f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Config/Definition/BaseNode.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ abstract class BaseNode implements NodeInterface
4242
*/
4343
public function __construct($name, NodeInterface $parent = null)
4444
{
45-
if (false !== strpos($name, '.')) {
46-
throw new \InvalidArgumentException('The name must not contain ".".');
47-
}
48-
4945
$this->name = $name;
5046
$this->parent = $parent;
5147
}

0 commit comments

Comments
 (0)