itxq / singleton_pattern
单例trait
v1.0.0
2019-05-03 08:42 UTC
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2023-09-29 02:28:21 UTC
README
namespace test; use itxq\kelove\traits\SingletonPattern; class Test { use SingletonPattern; public function index() { return 123; } }