trait AmazonSesHandlerTrait in Amazon SES 2.0.x
Amazon SES handler trait.
Hierarchy
- trait \Drupal\amazon_ses\AmazonSesHandlerTrait
4 files declare their use of AmazonSesHandlerTrait
- AmazonSes.php in src/
Plugin/ Mail/ AmazonSes.php - AmazonSesController.php in src/
Controller/ AmazonSesController.php - AmazonSesFormBase.php in src/
Form/ AmazonSesFormBase.php - AmazonSesMailQueue.php in src/
Plugin/ QueueWorker/ AmazonSesMailQueue.php
File
- src/
AmazonSesHandlerTrait.php, line 8
Namespace
Drupal\amazon_sesView source
trait AmazonSesHandlerTrait {
/**
* The Amazon SES handler service.
*
* @var \Drupal\amazon_ses\AmazonSesHandlerInterface
*/
protected $handler;
/**
* Set the handler object.
*
* @param \Drupal\amazon_ses\AmazonSesHandlerInterface $handler
* The handler object.
*
* @return $this
*/
protected function setHandler(AmazonSesHandlerInterface $handler) {
$this->handler = $handler;
return $this;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AmazonSesHandlerTrait:: |
protected | property | The Amazon SES handler service. | |
AmazonSesHandlerTrait:: |
protected | function | Set the handler object. |