You are here

public function ShellManager::__construct in FillPDF 5.0.x

Same name and namespace in other branches
  1. 8.4 src/ShellManager.php \Drupal\fillpdf\ShellManager::__construct()

Constructs a ShellManager object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/ShellManager.php, line 34

Class

ShellManager
Manage execution of shell commands.

Namespace

Drupal\fillpdf

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
  $this->isWindows = substr(PHP_OS, 0, 3) === 'WIN';
}