ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ResourceRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use Generator;
30 
37 {
38  public function blank(
39  ResourceIdentification $identification,
40  ResourceType $type = ResourceType::SINGLE_FILE
42 
43 
47  public function get(ResourceIdentification $identification): StorableResource;
48 
49 
50  public function has(ResourceIdentification $identification): bool;
51 
52 
53  public function store(StorableResource $resource): void;
54 
55 
59  public function getAll(): Generator;
60 
61 
62  public function delete(StorableResource $resource): void;
63 }
has(ResourceIdentification $identification)
blank(ResourceIdentification $identification, ResourceType $type=ResourceType::SINGLE_FILE)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...