sincco/singleton

Simplifies the use of singleton pattern on PHP

1.0 2016-06-01 00:10 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:51:17 UTC


README

Simplifies the use of singleton pattern on PHP.

##Installation

To add this package as a local, per-project dependency to your project, simply add a dependency on your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Singleton:

{
    "require": {
        "sincco/singleton": "dev-master"
    }
}

##Use

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php

Happy coding!