Access Multiple Array With Dot Notation
Exemple:
use Amsitlab\Component\DotNotation\DotNotation;
$data = array('profile' => array('name' => array('first' => 'Amsit')
)
);
$dot = new DotNotation( $data );
$dot->set('profile.name.last','Swara');
echo $dot->get('profile.name.first') , ' ' , $dot->get('profile.name.last'); //Output: Amsit Swara
Php Dot Notation Array Access