ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullWrapper.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class NullWrapper implements WrapperInterface
24 {
25  public function nextID(string $table): int
26  {
27  return 0;
28  }
29 
33  public function query(string $query): \Generator
34  {
35  yield from [];
36  }
37 
38  public function manipulate(string $query): void
39  {
40  }
41 
42  public function update(string $table, array $values, array $where): void
43  {
44  }
45 
46  public function insert(string $table, array $values): void
47  {
48  }
49 
50  public function quoteInteger(int $integer): string
51  {
52  return '';
53  }
54 }
update(string $table, array $values, array $where)
Definition: NullWrapper.php:42
insert(string $table, array $values)
Definition: NullWrapper.php:46