protected function getRegion()
    {
        if (empty($this->sS3Region)) {
            $this->sS3Region = $this->getRegionAndBucket()->region;
            if (empty($this->sS3Region)) {
                throw new DriverException('S3 Region has not been defined.');
            }
        }

        return $this->sS3Region;
    }
protected function getRegion()
    {
        if (empty($this->sS3Region)) {
            $this->sS3Region = $this->getRegionAndBucket()->region;
            if (empty($this->sS3Region)) {
                throw new DriverException('S3 Region has not been defined.');
            }
        }

        return $this->sS3Region;
    }
protected function getRegion ( ) { if ( empty ( $ this -> sS3Region ) ) { $ this -> sS3Region = $ this -> getRegionAndBucket ( ) -> region ; if ( empty ( $ this -> sS3Region ) ) { throw new DriverException ( 'S3 Region has not been defined.' ) ; } } return $ this -> sS3Region ; }
Returns the AWS region for this environment

@return string

@throws DriverException
Returns the AWS region for this environment