Skip to content

zyberWare/php-var-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zyberware/var-manager

VarManager provides an easy way to save variables with getter- and setter-methods.

Example

$vars = new \ZyberWare\VarManager();
$vars->setDay('Friday');
$vars->setConfig('main', $mainConfig);
$vars->setConfig('db', $dbConfig);

var_dump(
    $vars->getDay(),
    $vars->getConfig('main'),
    $vars->getConfig('db')
);

Documentation

To create the docs, just run phpdoc in the the project-root. An online-version is available at phpdoc.zyberware.org/var-manager/.

License

This software is licensed under the Mozilla Public License v. 2.0. For more information, read the file LICENSE.

About

Provides an easy way to save variables with getter- and setter-methods.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages