Total Complexity | 7 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 94.12% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class SoftDelete extends Behavior\SoftDelete |
||
21 | { |
||
22 | use SkippableTrait; |
||
23 | |||
24 | 2 | public function setField(string $field): void |
|
25 | { |
||
26 | 2 | $this->options['field'] = $field; |
|
27 | } |
||
28 | |||
29 | 1 | public function getField(): string |
|
30 | { |
||
31 | 1 | return $this->options['field']; |
|
32 | } |
||
33 | |||
34 | 2 | public function setValue(int $value): void |
|
37 | } |
||
38 | |||
39 | 1 | public function getValue(): int |
|
42 | } |
||
43 | |||
44 | 2 | public function __construct(array $options = []) |
|
49 | } |
||
50 | |||
51 | 2 | public function notify(string $type, ModelInterface $model): ?bool |
|
61 |