public function SendGridReportsController::__construct in SendGrid Integration 8.2
Same name and namespace in other branches
- 8 modules/sendgrid_integration_reports/src/Controller/SendGridReportsController.php \Drupal\sendgrid_integration_reports\Controller\SendGridReportsController::__construct()
SendGridReportsController constructor.
Parameters
\Drupal\sengrid_integration_reports\Api $api: The sendgrid api service.
File
- modules/
sendgrid_integration_reports/ src/ Controller/ SendGridReportsController.php, line 45
Class
- SendGridReportsController
- Class for rendering sendgrid reports page.
Namespace
Drupal\sendgrid_integration_reports\ControllerCode
public function __construct(Api $api) {
$this->api = $api;
}