| 1 | <?php |
||
| 9 | class NullDatabase extends AbstractDatabase |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | public function lastIdCreated() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | public function create($table, array $fields, array $options = []) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function update($table, array $fields, Condition $criteria = null, array $options = []) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function delete($table, Condition $criteria = null, array $options = []) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return null |
||
| 46 | */ |
||
| 47 | public function find($table, Condition $criteria = null, array $options = []) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | public function findAll($table, Condition $criteria = null, array $options = []) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return int |
||
| 62 | */ |
||
| 63 | public function count($table, Condition $criteria = null, array $options = []) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return boolean |
||
| 70 | */ |
||
| 71 | public function has($table, Condition $criteria = null, array $options = []) |
||
| 75 | } |
||
| 76 |