src/Commands/TemplatesCommand.php
protected function separateRows($templates)
    {
        $rows = [];
        foreach ($templates as $template) {
            $rows[] = $template;
            $rows[] = new TableSeparator();
        }
        unset($rows[count($rows) - 1]);

        return $rows;
    }
protected function separateRows($templates)
    {
        $rows = [];
        foreach ($templates as $template) {
            $rows[] = $template;
            $rows[] = new TableSeparator();
        }
        unset($rows[count($rows) - 1]);

        return $rows;
    }
protected function separateRows ( $ templates ) { $ rows = [ ] ; foreach ( $ templates as $ template ) { $ rows [ ] = $ template ; $ rows [ ] = new TableSeparator ( ) ; } unset ( $ rows [ count ( $ rows ) - 1 ] ) ; return $ rows ; }
Separate rows with a separator.

@param $templates

@return array
Separate rows with a separator .