Skip to content

Iriven DataCollector is a PHP container for key/value pairs

License

Notifications You must be signed in to change notification settings

iriven/DataCollector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IRIVEN PHP: DataCollector

Iriven DataCollector is a PHP container for key/value pairs

Usage:

  • $Author = new \Iriven\IrivenPHPDataCollector([ 'name' => $name, 'email' => $email, 'homepage' => $homepage, 'role' => $role, 'description' => $description ]);

  • $Author->get('name',null);

  • $Author->get('email',null);

  • $Author->get('homepage',null);

  • $Author->get('role',null);

  • $Author->get('description',null);

Other methodes:

** methode 1:

  • $Author = new \Iriven\IrivenPHPDataCollector();
  • $Author->add([ 'name' => $name, 'email' => $email, 'homepage' => $homepage, 'role' => $role, 'description' => $description ]);

** methode 2:

  • $Author = new \Iriven\IrivenPHPDataCollector();

  • $Author->set('name',$name);

  • $Author->set('email', $email);

  • $Author->set('homepage',$homepage);

  • $Author->set('role', $role);

  • $Author->set('description',$description);

Releases

No releases published

Packages

No packages published

Languages