public function Nodejs::__construct in Node.js integration 8
File
- src/
Nodejs.php, line 34
Class
Namespace
Drupal\nodejsCode
public function __construct(Client $http_client, LoggerChannelInterface $logger, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config, State $state) {
$this->httpClient = $http_client;
$this->logger = $logger;
$this->moduleHandler = $module_handler;
$this->config = $config
->get('nodejs.config')
->get();
$this->state = $state;
}