public function EmailAttachmentEvaluator::__construct in Easy Email 2.0.x
Same name and namespace in other branches
- 8 src/Service/EmailAttachmentEvaluator.php \Drupal\easy_email\Service\EmailAttachmentEvaluator::__construct()
Constructs the EmailTokenEvaluator
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher:
\Drupal\Core\File\FileSystemInterface $fileSystem:
\Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser $mimeTypeGuesser:
File
- src/
Service/ EmailAttachmentEvaluator.php, line 39
Class
Namespace
Drupal\easy_email\ServiceCode
public function __construct(EventDispatcherInterface $eventDispatcher, FileSystemInterface $fileSystem, MimeTypeGuesser $mimeTypeGuesser) {
$this->fileSystem = $fileSystem;
$this->mimeTypeGuesser = $mimeTypeGuesser;
$this->eventDispatcher = $eventDispatcher;
}