public static function partial($template, array $vars = array())
    {
        $template = new Template($template, null, $vars);

        return trim($template->render());
    }
public static function partial($template, array $vars = array())
    {
        $template = new Template($template, null, $vars);

        return trim($template->render());
    }
public static function partial ( $ template , array $ vars = array ( ) ) { $ template = new Template ( $ template , null , $ vars ) ; return trim ( $ template -> render ( ) ) ; }
Include partial.

@param  string $template
@param  array  $vars
@return string Content
@throws \Exception
Include partial .