public function BitbucketManager::__construct in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 modules/build_hooks_bitbucket/src/BitbucketManager.php \Drupal\build_hooks_bitbucket\BitbucketManager::__construct()
Constructs a BitbucketManager object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\GuzzleHttp\ClientInterface $http_client: HTTP client.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The Date formatter service.
File
- modules/
build_hooks_bitbucket/ src/ BitbucketManager.php, line 52
Class
- BitbucketManager
- Service for managing BitBucket connection details.
Namespace
Drupal\build_hooks_bitbucketCode
public function __construct(ConfigFactoryInterface $config_factory, ClientInterface $http_client, DateFormatterInterface $date_formatter) {
$this->config = $config_factory
->get('build_hooks_bitbucket.settings');
$this->httpClient = $http_client;
$this->dateFormatter = $date_formatter;
}