ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
ResourceRepository.php
Go to the documentation of this file.
1
<?
php
declare(strict_types=1);
2
3
namespace
ILIAS\MainMenu\Storage\Resource\Repository
;
4
5
use Generator;
6
use
ILIAS\MainMenu\Storage\Identification\ResourceIdentification
;
7
use
ILIAS\MainMenu\Storage\Resource\ResourceNotFoundException
;
8
use
ILIAS\MainMenu\Storage\StorableResource
;
9
15
interface
ResourceRepository
16
{
17
23
public
function
blank
(
ResourceIdentification
$identification) :
StorableResource
;
24
25
32
public
function
get
(
ResourceIdentification
$identification) :
StorableResource
;
33
34
40
public
function
has
(
ResourceIdentification
$identification) : bool;
41
42
46
public
function
store
(
StorableResource
$resource) : void;
47
48
52
public
function
getAll
() : Generator;
53
54
58
public
function
delete
(
StorableResource
$resource) :
void
;
59
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\MainMenu\Storage\Identification\ResourceIdentification
Interface Identification.
Definition:
ResourceIdentification.php:15
ILIAS\MainMenu\Storage\Resource\ResourceNotFoundException
Class ResourceNotFoundException.
Definition:
ResourceNotFoundException.php:13
ILIAS\MainMenu\Storage\Resource\Repository\ResourceRepository
Interface ResourceRepository.
Definition:
ResourceRepository.php:16
ILIAS\MainMenu\Storage\Resource\Repository\ResourceRepository\getAll
getAll()
ILIAS\MainMenu\Storage\Resource\Repository\ResourceRepository\blank
blank(ResourceIdentification $identification)
ILIAS\MainMenu\Storage\Resource\Repository\ResourceRepository\store
store(StorableResource $resource)
ILIAS\MainMenu\Storage\Resource\Repository\ResourceRepository\has
has(ResourceIdentification $identification)
ILIAS\MainMenu\Storage\StorableResource
Interface StorageResource.
Definition:
StorableResource.php:16
ILIAS\MainMenu\Storage\Resource\Repository
Definition:
ARResource.php:3
Services
MainMenu
classes
Storage
Resource
Repository
ResourceRepository.php
Generated on Sat Oct 4 2025 20:01:02 for ILIAS by
1.9.4 (using
Doxyfile
)