micropackage/singleton

Singleton implementation

1.1.0 2020-01-28 14:10 UTC

This package is auto-updated.

Last update: 2021-11-12 14:50:22 UTC


README

BracketSpace Micropackage Latest Stable Version PHP from Packagist Total Downloads License

Micropackage logo

💾 Installation

composer require micropackage/singleton

🕹 Usage

use Micropackage\Singleton\Singleton;

class Example extends Singleton {}

Example::get();

📦 About the Micropackage project

Micropackages - as the name suggests - are micro packages with a tiny bit of reusable code, helpful particularly in WordPress development.

The aim is to have multiple packages which can be put together to create something bigger by defining only the structure.

Micropackages are maintained by BracketSpace.

📖 Changelog

See the changelog file.

📃 License

GNU General Public License (GPL) v3.0. See the LICENSE file for more information.