configure() public method

public configure ( array $config = [] ) : Fireguard\Report\Contracts\ExporterContract
$config array
return Fireguard\Report\Contracts\ExporterContract
Example #1
0
 public function testGetHeaderHeight()
 {
     $exporter = new PdfExporter();
     $exporter->configure(['header' => ['height' => '0px']]);
     $this->assertEquals('0px', $exporter->getHeaderHeight());
     $exporter->configure(['header' => ['height' => '100px']]);
     $this->assertEquals('100px', $exporter->getHeaderHeight());
 }