You are here

public function NetlifyManager::__construct in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 modules/build_hooks_netlify/src/NetlifyManager.php \Drupal\build_hooks_netlify\NetlifyManager::__construct()

Constructs a new NetlifyManager object.

File

modules/build_hooks_netlify/src/NetlifyManager.php, line 41

Class

NetlifyManager
Defines a manager service for netlify deployments.

Namespace

Drupal\build_hooks_netlify

Code

public function __construct(ConfigFactoryInterface $config_factory, ClientInterface $http_client, DateFormatterInterface $date_formatter) {
  $this->configFactory = $config_factory;
  $this->httpClient = $http_client;
  $this->dateFormatter = $date_formatter;
}