示例#1
0
 /**
  * Fetches list of the farms associated with the config (refreshes)
  *
  * @return ArrayCollection Returns the list of WebhookConfigFarm objects
  */
 public function fetchFarms()
 {
     $this->_farms = WebhookConfigFarm::result(self::RESULT_ENTITY_COLLECTION)->findByWebhookId($this->webhookId);
     return $this->_farms;
 }