PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Ahmad Mustapha   Minimal Singleton   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Minimal Singleton
Show how to create only one object of class
Author: By
Last change:
Date: 11 days ago
Size: 376 bytes
 

Contents

Class file image Download

PHP Singleton

Minimal PHP Singleton Demostration

Installation

Clone the repo

git clone https://github.com/ahmard/minimal-singleton.git

Navigate to the cloned repo

cd minimal-singleton

Install Composer packages

composer install

Usage

Run below command to run the example

php entry.php