src/Template.php
protected function recursiveRender($template)
    {
        $output = '';
        foreach ($template as $val) {
            if (is_array($val)) {
                $output .= $this->recursiveRender($val);
            } else {
                $output .= $val;
            }
        }

        return $output;
    }
protected function recursiveRender($template)
    {
        $output = '';
        foreach ($template as $val) {
            if (is_array($val)) {
                $output .= $this->recursiveRender($val);
            } else {
                $output .= $val;
            }
        }

        return $output;
    }
protected function recursiveRender ( $ template ) { $ output = '' ; foreach ( $ template as $ val ) { if ( is_array ( $ val ) ) { $ output .= $ this -> recursiveRender ( $ val ) ; } else { $ output .= $ val ; } } return $ output ; }
Walk through the template array collecting the values
and returning them as a string.

@param array $template

@return string
Walk through the template array collecting the values and returning them as a string .