Craft\Imager_AwsService::_getS3Object PHP Method

_getS3Object() private method

Returns the S3 object
private _getS3Object ( ) : null | S3
return null | S3
    private function _getS3Object()
    {
        if (is_null($this->s3)) {
            $this->s3 = new \S3(craft()->imager->getSetting('awsAccessKey'), craft()->imager->getSetting('awsSecretAccessKey'));
            $this->s3->setExceptions(true);
        }
        return $this->s3;
    }