ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
AbsolutePathConsumer.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 {
29  protected string $absolute_path = '';
30 
31  public function getAbsolutePath(): string
32  {
33  $this->run();
34  return $this->absolute_path;
35  }
36 
37  public function run(): void
38  {
39  $revision = $this->stream_access->populateRevision($this->getRevision());
40 
41  $stream = $revision->maybeGetToken()->resolveStream();
42 
43  $this->absolute_path = (string)($stream->getMetadata('uri') ?? '');
44  }
45 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
run()
This runs the actual DeliveryConsumer.