public function YamlFormResultsExportController::__construct in YAML Form 8
Constructs a new YamlFormResultsExportController object.
Parameters
\Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface $mime_type_guesser: The MIME type guesser instance to use.
\Drupal\yamlform\YamlFormSubmissionExporterInterface $yamlform_submission_exporter: The form submission exported.
\Drupal\yamlform\YamlFormRequestInterface $request_handler: The form request handler.
File
- src/
Controller/ YamlFormResultsExportController.php, line 56
Class
- YamlFormResultsExportController
- Controller routines for form submission export.
Namespace
Drupal\yamlform\ControllerCode
public function __construct(MimeTypeGuesserInterface $mime_type_guesser, YamlFormSubmissionExporterInterface $yamlform_submission_exporter, YamlFormRequestInterface $request_handler) {
$this->mimeTypeGuesser = $mime_type_guesser;
$this->submissionExporter = $yamlform_submission_exporter;
$this->requestHandler = $request_handler;
}