protected function generateOutputBody($data) { $template = <<<EOM --- title: "{$data['title']}" date: {$data['updated_at']} tags: {$data['tags']} author: "{$data['username']}" published: {$data['published']} created_at: {$data['created_at']} updated_at: {$data['updated_at']} --- {$data['body']} EOM; return $template; }