Eduardokum\LaravelBoleto\Boleto\Render\Html::gerarBoleto PHP Method

gerarBoleto() public method

public gerarBoleto ( )
    public function gerarBoleto()
    {
        $view = view();
        $view->addNamespace('BoletoHtmlRender', realpath(__DIR__ . '/view/'));
        return $view->make('BoletoHtmlRender::boleto', $this->dados)->render();
    }

Same methods

Html::gerarBoleto ( boolean $print = false ) : string

Usage Example

 /**
  * Render HTML
  *
  * @return string
  * @throws \Exception
  */
 public function renderHTML()
 {
     $html = new Html($this->toArray());
     return $html->gerarBoleto();
 }
All Usage Examples Of Eduardokum\LaravelBoleto\Boleto\Render\Html::gerarBoleto