/** * Use the s3ClientManager to return the S3Client object this class is using. * Redirecting all requests for an S3Client through this method * allows us to lazy load S3Client instances. * * @return S3Client */ protected function getS3Client() { return $this->s3ClientManager->getS3Client($this->attachedFile); }