library php-registry
Another PHP implementation of the registry pattern
lebr1/php-registry
Another PHP implementation of the registry pattern
- Tuesday, April 5, 2016
- by lebr1
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
php-registry
Another PHP implementation of the registry pattern, (*1)
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')) {
...
}
dev-master
9999999-dev
Another PHP implementation of the registry pattern
Sources
Download
MIT
The Requires
The Development Requires
by
Marc Lebrun