ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullWrapper.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
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