Inheritance: extends ArrayObjec\ArrayObject, implements Interop\Container\ContainerInterface
Example #1
0
    public function testClassWithAnotherAndUnderline()
    {
        $ini = <<<INI
[foo_bar stdClass]

[bar_foo \\Respect\\Config\\WheneverWithAProperty]
test = [foo_bar]
INI;
        $c = new Container();
        $c->loadArray(parse_ini_string($ini, true));
        $this->assertEquals(get_class($c->foo_bar), get_class($c->bar_foo->test));
    }