/** * @return TrelloApiHelper */ protected function getTrelloApiHelper() { if (!$this->trelloApiHelper) { $this->trelloApiHelper = $this->container->get('issue_manager.trello_api.api_helper'); $this->trelloApiHelper->setApi(); } return $this->trelloApiHelper; }
/** * @return \LooplineSystems\IssueManager\Library\Trello\Api\Object\Checklist|null */ protected function loadCheckListByCard() { $cardDto = $this->trelloWebHook->getDtoContainer()->getCardDto(); return $this->trelloApiHelper->getChecklistFromCardShortLink($cardDto->getShortLink()); }