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();
16  return $this->absolute_path;
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 }
run()
This runs the actual DeliveryConsumer.