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