1 <?php declare(strict_types=1);
43 $this->fs = $DIC->filesystem()->storage();
51 public function getID() : string
68 return $this->fs->has($this->
getBasePath($identification));
77 return $this->fs->readStream($this->
getRevisionPath($revision) .
'/' . self::DATA);
111 return self::BASE .
'/' . str_replace(
"-",
"/", $identification->
serialize());
Class UniqueIDIdentificationGenerator.
getStream(Revision $revision)
Interface Identification.
has(ResourceIdentification $identification)
deleteRevision(Revision $revision)
const STORAGE
The filesystem outside of the ilias web root.
Class UploadedFileRevision.
Class FileResourceHandler.
deleteResource(StorableResource $resource)
storeUpload(UploadedFileRevision $revision)
getIdentificationGenerator()
getBasePath(ResourceIdentification $identification)
__construct()
FileSystemStorageHandler constructor.
getRevisionPath(Revision $revision)
Class UniqueIDIdentificationGenerator.
Interface StorageResource.