ZF-8238: Move Protected EC2 Information out of Zend_Service_Amazon_Abstract to Z_S_A_Ec2_Abstract
Description
move the following from the base amazon abstract class to the ec2 abstract class
/**
* @var string Amazon Region
*/
protected static $_defaultRegion = null;
/**
* An array that contains all the valid Amazon Ec2 Regions.
*
* @var array
*/
protected static $_validEc2Regions = array('eu-west-1', 'us-east-1');
/**
* Method to fetch the AWS Region
*
* @return string
*/
protected function _getRegion()
{
return (!empty($this->_region)) ? $this->_region . '.' : '';
}
Comments
Posted by Jon Whitcraft (sidhighwind) on 2009-11-09T14:52:15.000+0000
We are moving the region code from the main amazon abstract class so this needs to happen as well.
Posted by Ramon Henrique Ornelas (ramon) on 2010-11-29T00:00:18.000+0000
Fixed r18913.