12/08
2017
Functions that are common in singleton objects
, (*1)
An object design pattern support class in emeraldinspiration's library., (*2)
Functions that are common in singleton objects, (*3)
This project has no dependencies, so can be cloned directly from the git repo or required with Composer., (*4)
composer require emeraldinspirations/lib-objectdesignpattern-singleton
<?php use emeraldinspirations\library\objectDesignPattern\singleton\SingletonTrait; class ExampleSingletonObject { use SingletonTrait; }
If you'd like to contribute, please fork the repository and use a feature branch., (*5)
I am also open to feedback about how well I am being compliant with standards and "best practices." I have written software solo for years, and am trying to learn how to work better with others., (*6)
The code in this project is licensed under MIT license., (*7)