Can I create Singleton per application in PHP (php-fpm)?

270 views Asked by At

How can I implement singleton per application? I woulde like to store single instance of class in memory and use (change) it in all requests in thread-safe mode.

0

There are 0 answers