You are here

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

PhantomJSCaptureHelper

Namespace

Drupal\phantomjs_capture

Code

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');
}