1 | <?php |
||
16 | abstract class AbstractRawRepository |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * Get the tablename |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | abstract protected function getTableName(): string; |
||
25 | |||
26 | /** |
||
27 | * Find by uid |
||
28 | * |
||
29 | * @param int $uid |
||
30 | * @return array|null |
||
31 | */ |
||
32 | public function findByUid(int $uid) |
||
44 | |||
45 | /** |
||
46 | * Update by uid |
||
47 | * |
||
48 | * @param int $uid |
||
49 | * @param array $values |
||
50 | */ |
||
51 | public function updateByUid(int $uid, array $values) |
||
60 | |||
61 | } |
||
62 |