/** * Fetches list of the endpoints associated with the config (refreshes) * * @return ArrayCollection Returns the list of WebhookConfigEndpoint objects */ public function fetchEndpoints() { $this->_endpoints = WebhookConfigEndpoint::result(self::RESULT_ENTITY_COLLECTION)->findByWebhookId($this->webhookId); return $this->_endpoints; }