You are here

public function WkhtmltopdfGenerator::getStderr in PDF generator API 8

Same name and namespace in other branches
  1. 2.x src/Plugin/PdfGenerator/WkhtmltopdfGenerator.php \Drupal\pdf_api\Plugin\PdfGenerator\WkhtmltopdfGenerator::getStderr()

Get errors from the generator.

Return value

string The content of the stderr pipe.

Overrides PdfGeneratorBase::getStderr

File

src/Plugin/PdfGenerator/WkhtmltopdfGenerator.php, line 175
Contains \Drupal\pdf_api\Plugin\WkhtmltopdfGenerator.

Class

WkhtmltopdfGenerator
A PDF generator plugin for the WKHTMLTOPDF library.

Namespace

Drupal\pdf_api\Plugin\PdfGenerator

Code

public function getStderr() {
  return $this->generator
    ->getError();
}