private function arrayToHtml(array $data): string
    {
        $html = file_get_contents($this->path);

        foreach ($data as $key => $val) {
            $html = str_replace("{{ $$key }}", $val, $html);
        }

        return $html;
    }