Fireguard\Report\Contracts\ReportContract::getContent PHP Method

getContent() public method

public getContent ( ) : string
return string
    public function getContent();

Usage Example

Exemplo n.º 1
0
 protected function createHtmlFiles(ReportContract $report)
 {
     $exporter = new HtmlExporter($this->getPath(), $this->fileName);
     $this->htmlBodyPath = $exporter->saveFile($report->getContent());
     $this->htmlHeader = $this->processInlineHtml($report->getHeader());
     $this->htmlFooter = $this->processInlineHtml($report->getFooter());
 }