public function getTemplate() { return $this->cache->get(__METHOD__, function () { $res = $this->cfnClient->getTemplate(['StackName' => $this->getName()]); return $res->get('TemplateBody'); }); }