public function AmazonSesHandler::__construct in Amazon SES 2.0.x
Constructs the service.
Parameters
\Aws\Ses\SesClient $client: The AWS SesClient.
\Drupal\Core\Logger\LoggerChannelInterface $logger: The logger factory service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
AmazonSesHandler.php, line 49
Class
- AmazonSesHandler
- Amazon SES service.
Namespace
Drupal\amazon_sesCode
public function __construct(SesClient $client, LoggerChannelInterface $logger, ConfigFactoryInterface $config_factory) {
$this->client = $client;
$this->logger = $logger;
$this->config = $config_factory
->get('amazon_ses.settings');
}