ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
interface.ilHandlerInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Export\ImportHandler\I\File\Namespace\ilCollectionInterface as ilFileNamespaceCollectionInterface;
24 use ILIAS\Export\ImportHandler\I\File\Namespace\ilHandlerInterface as ilFileNamespaceHandlerInterface;
25 use SplFileInfo;
26 
28 {
29  public function withAdditionalNamespace(ilFileNamespaceHandlerInterface $namespace_handler): ilHandlerInterface;
30 
31  public function getNamespaces(): ilFileNamespaceCollectionInterface;
32 
33  public function withFileInfo(SplFileInfo $file_info): ilHandlerInterface;
34 
35  public function getFileName(): string;
36 
37  public function getFilePath(): string;
38 
39  public function getPathToFileLocation(): string;
40 
41  public function getSubPathToDirBeginningAtPathStart(string $dir_name): ilHandlerInterface;
42 
43  public function getSubPathToDirBeginningAtPathEnd(string $dir_name): ilHandlerInterface;
44 
45  public function fileExists(): bool;
46 
47  public function getPathPart(string $pattern): string|null;
48 
49  public function pathContainsFolderName(string $folder_name): bool;
50 }
withAdditionalNamespace(ilFileNamespaceHandlerInterface $namespace_handler)