ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullSearcher.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
27 {
31  public function search(
32  LOMRepository $lom_repository,
33  int $first_entry_id,
34  int ...$further_entry_ids
35  ): \Generator {
36  yield from [];
37  }
38 
39  public function withRestrictionToRepositoryObjects(bool $restricted): SearcherInterface
40  {
41  return $this;
42  }
43 
44  public function withAdditionalTypeFilter(string $type): SearcherInterface
45  {
46  return $this;
47  }
48 }
search(LOMRepository $lom_repository, int $first_entry_id, int ... $further_entry_ids)