/** * @param $tsv * @param $handle * @param Template $template */ protected static function put_body($tsv, $handle, $template) { foreach ($tsv['body'] as $row) { $text = $template->convert($row); if ($text !== false) { File::write($handle, $text . "\n\n"); } } }