ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
MaxNestingFileSystemStorageHandler.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
35{
36 public function __construct(
37 Filesystem $filesystem,
39 bool $determine_linking_possible = false
40 ) {
41 parent::__construct($filesystem, $location, $determine_linking_possible);
42 $this->path_generator = new MaxNestingPathGenerator();
43 }
44
48 public function getID(): string
49 {
50 return 'fsv2';
51 }
52
53 public function getStorageLocationBasePath(): string
54 {
55 return StorageHandlerFactory::BASE_DIRECTORY . '/' . $this->getID();
56 }
57
58 public function isPrimary(): bool
59 {
60 return true;
61 }
62}
$location
Definition: buildRTE.php:22
__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:33
const STORAGE
The filesystem outside of the ilias web root.
Definition: Location.php:43
The filesystem interface provides the public interface for the Filesystem service API consumer.
Definition: Filesystem.php:37
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc