Skip to content

lebr1/php-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-registry

Another PHP implementation of the registry pattern

Installation

cd <your project>
composer require 'lebr1/php-registry:dev-master'

Usage

$registry = Lebr1\Registry\ArrayRegistry::getInstance();
$registry->set('person','John Doe');
$person = $registry->get('person');
if ($registry->has('person')) {
   ...
}

About

Another PHP implementation of the registry pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages