1 <?php declare(strict_types=1);
14 public function run() : void
18 $revision = $this->getRevision();
20 $file_name = $this->file_name_policy->prepareFileNameForConsumer($this->file_name ?? $revision->getInformation()->getTitle());
21 $mime_type = $revision->getInformation()->getMimeType();
24 if ($this->file_name_policy->isValidExtension($revision->getInformation()->getSuffix())) {
41 $DIC->http()->sendResponse();
42 $DIC->http()->close();
run()
This runs the actual DeliveryConsumer.
Interface DeliveryConsumer.