private function loadTemplate()
{
if (trim($this->template)[0] !== '<') {
$xml = $this->cache->load($this->template, filemtime($this->template));
return $xml ? $xml : ['body' => file_get_contents($this->template), 'headers' => []];
} else {
return ['body' => $this->template, 'headers' => []];
}
}