ILIAS  release_8 Revision v8.24
AbsolutePathConsumer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
29 protected string $absolute_path = '';
30
31 public function getAbsolutePath(): string
32 {
33 $this->run();
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}
run()
This runs the actual DeliveryConsumer.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...