Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait ReadOnlyRepositoryTrait |
||
8 | { |
||
9 | use UnsupportedMethodRepositoryTrait; |
||
10 | |||
11 | final public function create(array $options): ?ModelInterface |
||
12 | { |
||
13 | unset($options); |
||
14 | return $this->callUnsupportedMethod('create'); |
||
15 | } |
||
16 | |||
17 | final public function update($id, array $options): ?ModelInterface |
||
18 | { |
||
19 | unset($id, $options); |
||
20 | return $this->callUnsupportedMethod('update'); |
||
21 | } |
||
22 | |||
23 | final public function delete($id): bool |
||
27 | } |
||
28 | } |
||
29 |