Singleton design pattern in php