public function ShellManager::__construct in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x 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\fillpdfCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
$this->isWindows = substr(PHP_OS, 0, 3) === 'WIN';
}