ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
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 
30  public function insert(string $table, array $values): void
31  {
32  }
33 
34  public function update(string $table, array $values, array $where): void
35  {
36  }
37 
38  public function query(string $query): \Generator
39  {
40  yield from [];
41  }
42 
43  public function manipulate(string $query): void
44  {
45  }
46 
47  public function quoteAsInteger(string $value): string
48  {
49  return '';
50  }
51 
52  public function quoteAsString(string $value): string
53  {
54  return '';
55  }
56 
57  public function in(string $field, string ...$values): string
58  {
59  return '';
60  }
61 }
update(string $table, array $values, array $where)
Definition: NullWrapper.php:34