public function MandrillReportsService::__construct in Mandrill 8
Constructs the service.
Parameters
\Drupal\mandrill\MandrillAPIInterface $mandrill_api: The Mandrill API service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
File
- modules/
mandrill_reports/ src/ MandrillReportsService.php, line 39 - Contains \Drupal\mandrill_reports\MandrillReportsService.
Class
- MandrillReportsService
- Mandrill Reports service.
Namespace
Drupal\mandrill_reportsCode
public function __construct(MandrillAPIInterface $mandrill_api, ConfigFactoryInterface $config_factory) {
$this->mandrill_api = $mandrill_api;
$this->config = $config_factory;
}