ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ ilDoc Overview
NullUsername.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ApacheAuth\UsernameProvider
;
22
23
final
class
NullUsername
implements
UsernameInterface
24
{
25
public
function
asString
(): string
26
{
27
return
''
;
28
}
29
30
public
function
isEmpty
(): bool
31
{
32
return
true
;
33
}
34
35
public
function
__toString
(): string
36
{
37
return
''
;
38
}
39
}
ILIAS\ApacheAuth\UsernameProvider\NullUsername
Definition:
NullUsername.php:24
ILIAS\ApacheAuth\UsernameProvider\NullUsername\isEmpty
isEmpty()
True if this represents an empty (non-real) username.
Definition:
NullUsername.php:30
ILIAS\ApacheAuth\UsernameProvider\NullUsername\__toString
__toString()
Definition:
NullUsername.php:35
ILIAS\ApacheAuth\UsernameProvider\NullUsername\asString
asString()
Returns the username as string.
Definition:
NullUsername.php:25
ILIAS\ApacheAuth\UsernameProvider\UsernameInterface
Implementations may represent a resolved, concrete username or a null/empty value.
Definition:
UsernameInterface.php:27
ILIAS\ApacheAuth\UsernameProvider
Definition:
CollectUsernameProvidersObjective.php:21
components
ILIAS
AuthApache
src
UsernameProvider
NullUsername.php
Generated on Sat Dec 13 2025 23:01:46 for ILIAS by
1.9.4 (using
Doxyfile
)