making deep set/get possible using dot notation
This commit is contained in:
@ -61,6 +61,9 @@ class Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$ary = new Ary();
|
||||
$this->assertEquals($ary[0], null);
|
||||
|
||||
$ary = new Ary(['x' => ['xx' => ['m' => 'xxx']]]);
|
||||
$this->assertEquals($ary->get('x.xx.m'), 'xxx');
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user