public function EmailAttachmentEvaluator::__construct in Easy Email 8
Same name and namespace in other branches
- 2.0.x 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;
}