ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
DirectoryReadAccess.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\Filesystem\Provider
;
4
5
use
ILIAS\Filesystem\DTO\Metadata
;
6
use
ILIAS\Filesystem\Exception\DirectoryNotFoundException
;
7
21
interface
DirectoryReadAccess
22
{
23
34
public
function
hasDir
(
string
$path) : bool;
35
36
50
public
function
listContents
(
string
$path =
''
,
bool
$recursive =
false
) : array;
51
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\Filesystem\DTO\Metadata
Class Metadata.
Definition:
Metadata.php:19
ILIAS\Filesystem\Exception\DirectoryNotFoundException
Class DirectoryNotFoundException.
Definition:
DirectoryNotFoundException.php:15
ILIAS\Filesystem\Provider\DirectoryReadAccess
Interface DirectoryReadAccess.
Definition:
DirectoryReadAccess.php:22
ILIAS\Filesystem\Provider\DirectoryReadAccess\hasDir
hasDir(string $path)
Checks whether the directory exists or not.
ILIAS\Filesystem\Provider\DirectoryReadAccess\listContents
listContents(string $path='', bool $recursive=false)
Lists the content of a directory.
ILIAS\Filesystem\Provider
src
Filesystem
Provider
DirectoryReadAccess.php
Generated on Sat Oct 4 2025 20:01:11 for ILIAS by
1.9.4 (using
Doxyfile
)