Skip to content

Commit 8234a5b

Browse files
committed
Add github workflow
1 parent 5de4ee5 commit 8234a5b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
A lightweight PHP implementation of the Design Pattern Singleton using trait.
88
Just one class and no dependencies.
99

10-
# Usage
11-
1210
## Create your class
1311

1412
```php
@@ -33,13 +31,13 @@ Singleton classes does not have arguments in the constructor;
3331
$example = Example::getInstance();
3432
```
3533

36-
# Install
34+
## Install
3735

3836
```
3937
composer require "byjg/singleton-pattern=~1.0"
4038
```
4139

42-
# References
40+
## References
4341

4442
* https://en.wikipedia.org/wiki/Singleton_pattern
4543

0 commit comments

Comments
 (0)