PHP Class Fireguard\Report\Exporters\PdfExporter

Inheritance: extends AbstractPhantomExporter, implements Fireguard\Report\Contracts\ExporterContract
ファイルを表示 Open project: fireguard/report Class Usage Examples

Protected Properties

Property Type Description
$format ['A4', 'A3', 'Letter']
$orientation ['landscape', 'portrait']
$validFormats

Public Methods

Method Description
configure ( array $config = [] ) : Fireguard\Report\Contracts\ExporterContract
generate ( Fireguard\Report\Contracts\ReportContract $report ) : string
getMimeType ( ) : string

Method Details

configure() public method

public configure ( array $config = [] ) : Fireguard\Report\Contracts\ExporterContract
$config array
return Fireguard\Report\Contracts\ExporterContract

generate() public method

public generate ( Fireguard\Report\Contracts\ReportContract $report ) : string
$report Fireguard\Report\Contracts\ReportContract
return string

getMimeType() public method

public getMimeType ( ) : string
return string

Property Details

$format protected_oe property

['A4', 'A3', 'Letter']
protected $format

$orientation protected_oe property

['landscape', 'portrait']
protected $orientation

$validFormats protected_oe property

protected $validFormats