ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
NullNodeRepository.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Cache\Nodes
;
22
26
class
NullNodeRepository
implements
NodeRepository
27
{
28
public
function
store
(
Node
$node):
Node
29
{
30
return
$node;
31
}
32
33
public
function
getNodes
(): array
34
{
35
return
[];
36
}
37
38
public
function
create
(
string
$host,
int
$port,
int
$weight):
Node
39
{
40
return
new
Node
($host, $port, $weight);
41
}
42
43
public
function
deleteAll
(): void
44
{
45
}
46
}
ILIAS\Cache\Nodes\Node
Definition:
Node.php:26
ILIAS\Cache\Nodes
Definition:
Node.php:21
ILIAS\Cache\Nodes\NullNodeRepository\getNodes
getNodes()
Definition:
NullNodeRepository.php:33
ILIAS\Cache\Nodes\NullNodeRepository\store
store(Node $node)
Definition:
NullNodeRepository.php:28
ILIAS\Cache\Nodes\NullNodeRepository\deleteAll
deleteAll()
Definition:
NullNodeRepository.php:43
ILIAS\Cache\Nodes\NullNodeRepository
Definition:
NullNodeRepository.php:26
ILIAS\Cache\Nodes\NodeRepository
Definition:
NodeRepository.php:26
ILIAS\Cache\Nodes\NullNodeRepository\create
create(string $host, int $port, int $weight)
Definition:
NullNodeRepository.php:38
components
ILIAS
Cache
src
Nodes
NullNodeRepository.php
Generated on Sun Aug 31 2025 23:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)