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
}
Metadata
ILIAS\Filesystem\Provider\DirectoryReadAccess\hasDir
hasDir(string $path)
Checks whether the directory exists or not.
ILIAS\Filesystem\Provider
DirectoryNotFoundException
ILIAS\Filesystem\Provider\DirectoryReadAccess
Interface DirectoryReadAccess.
Definition:
DirectoryReadAccess.php:21
ILIAS\Filesystem\Provider\DirectoryReadAccess\listContents
listContents(string $path='', bool $recursive=false)
Lists the content of a directory.
src
Filesystem
Provider
DirectoryReadAccess.php
Generated on Wed Sep 3 2025 20:01:27 for ILIAS by
1.8.13 (using
Doxyfile
)