__construct() публичный Метод

public __construct ( array | string $options = null )
$options array | string global options for wkhtmltopdf, a page URL, a HTML string or a filename
Пример #1
0
 /**
  * __construct
  *
  * @param array $options Array of options.
  *
  * @return void
  */
 public function __construct($options)
 {
     $this->options(array_merge($this->_defaultOptions, $options));
     $options = $this->options();
     parent::__construct($options);
 }