ILIAS  release_7 Revision v7.30-3-g800a261c036
FileSystemStorageHandler.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
9
16{
17 public function __construct(
18 Filesystem $filesystem,
20 bool $determine_linking_possible = false
21 ) {
22 parent::__construct($filesystem, $location, $determine_linking_possible);
23 $this->path_generator = new UUIDBasedPathGenerator();
24 }
25
29 public function getID() : string
30 {
31 return 'fsv1';
32 }
33
34 public function getStorageLocationBasePath() : string
35 {
37 }
38
39 public function isPrimary() : bool
40 {
41 return false;
42 }
43
44}
An exception for terminatinating execution or to throw for unit testing.
__construct(Filesystem $filesystem, int $location=Location::STORAGE, bool $determine_linking_possible=false)
getStorageLocationBasePath()
This is the place in the filesystem where the containers (nested) get created.
Interface Location.
Definition: Location.php:17
const STORAGE
The filesystem outside of the ilias web root.
Definition: Location.php:28
Interface Filesystem The filesystem interface provides the public interface for the Filesystem servic...
Definition: Filesystem.php:22
Class FlySystemFileAccessTest \Provider\FlySystem @runTestsInSeparateProcesses @preserveGlobalState d...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc