You are here

public function WkhtmltopdfController::__construct in wkhtmltopdf 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/WkhtmltopdfController.php \Drupal\wkhtmltopdf\Controller\WkhtmltopdfController::__construct()

File

src/Controller/WkhtmltopdfController.php, line 26

Class

WkhtmltopdfController
Base for Controller.

Namespace

Drupal\wkhtmltopdf\Controller

Code

public function __construct(ConfigFactory $config, Request $request, FileSystemInterface $filesystem) {
  $this->settings = $config
    ->get('wkhtmltopdf.settings');
  $this->request = $request;
  $this->filesystem = $filesystem;
}