Skip to content

amsitlab/amsitlab-dotnotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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

amsitlab-dotnotation

Php Dot Notation Array Access

About

Php Dot Notation Array Access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages