php-registry
Another PHP implementation of the registry pattern
Installation
Packagist
Bycd <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')) {
...
}