public function mail($template, $data = array(), &$css = array())
    {
        $this->twig->addFunction(new \Twig_SimpleFunction('css', function ($file) use (&$css) {
            $css[] = $file;
        }));
        $template = $this->twig->loadTemplate($template);
        return $template->render($data);
    }
public function mail($template, $data = array(), &$css = array())
    {
        $this->twig->addFunction(new \Twig_SimpleFunction('css', function ($file) use (&$css) {
            $css[] = $file;
        }));
        $template = $this->twig->loadTemplate($template);
        return $template->render($data);
    }
public function mail ( $ template , $ data = array ( ) , & $ css = array ( ) ) { $ this -> twig -> addFunction ( new \ Twig_SimpleFunction ( 'css' , function ( $ file ) use ( & $ css ) { $ css [ ] = $ file ; } ) ) ; $ template = $ this -> twig -> loadTemplate ( $ template ) ; return $ template -> render ( $ data ) ; }
Devulve una vista compatible con los clientes de correo

@param $template
@param array $data
@param array $css
@return string
Devulve una vista compatible con los clientes de correo