ILIAS  release_7 Revision v7.30-3-g800a261c036
AbsolutePathConsumer.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
10{
11 protected $absolute_path = '';
12
13 public function getAbsolutePath() : string
14 {
15 $this->run();
17 }
18
19 public function run() : void
20 {
21 $revision = $this->getRevision();
22
23 $stream = $this->storage_handler->getStream($revision);
24
25 $this->absolute_path = (string) $stream->getMetadata('uri');
26 }
27
28}
An exception for terminatinating execution or to throw for unit testing.
run()
This runs the actual DeliveryConsumer.