ILIAS  release_7 Revision v7.30-3-g800a261c036
MaxNestingFileSystemStorageHandler.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
9
17{
18 public function __construct(
19 Filesystem $filesystem,
21 bool $determine_linking_possible = false
22 ) {
23 parent::__construct($filesystem, $location, $determine_linking_possible);
24 $this->path_generator = new MaxNestingPathGenerator();
25 }
26
30 public function getID() : string
31 {
32 return 'fsv2';
33 }
34
35 public function getStorageLocationBasePath() : string
36 {
37 return StorageHandlerFactory::BASE_DIRECTORY . '/' . $this->getID();
38 }
39
40 public function isPrimary() : bool
41 {
42 return true;
43 }
44
45}
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