public function PhantomJSCaptureHelper::__construct in PhantomJS Capture 8
PhantomJSCaptureHelper constructor.
Parameters
ConfigFactoryInterface $config_factory:
FileSystemInterface $file_system:
LoggerChannelFactoryInterface $logger:
File
- src/
PhantomJSCaptureHelper.php, line 40
Class
Namespace
Drupal\phantomjs_captureCode
public function __construct(ConfigFactoryInterface $config_factory, FileSystemInterface $file_system, LoggerChannelFactoryInterface $logger) {
$this->configFactory = $config_factory;
$this->fileSystem = $file_system;
$this->loggerFactory = $logger;
$this->config = $this->configFactory
->get('phantomjs_capture.settings');
}