Example #1
0
 /**
  * Gets instance types for this cloud location
  *
  * @return  \Scalr\Model\Collections\ArrayCollection Returns collection of the instance types
  */
 public function fetchInstanceTypes()
 {
     $this->instanceTypes = CloudInstanceType::result(CloudInstanceType::RESULT_ENTITY_COLLECTION)->find([['cloudLocationId' => $this->cloudLocationId]]);
     return $this->instanceTypes;
 }