I have a project where I use aws sd开发者_StackOverflow中文版k for php. Here I am trying to create S3Client with singleton. But it does not create S3Client outside of the constructor.