@@ -35,12 +35,12 @@ final class SoftDeleteable implements GedmoAnnotation
35
35
36
36
public bool $ hardDelete = true ;
37
37
38
- public ?string $ deletedValue = null ;
38
+ public ?string $ nonDeletedColumnValue = null ;
39
39
40
40
/**
41
41
* @param array<string, mixed> $data
42
42
*/
43
- public function __construct (array $ data = [], string $ fieldName = 'deletedAt ' , bool $ timeAware = false , bool $ hardDelete = true , ?string $ deletedValue = null )
43
+ public function __construct (array $ data = [], string $ fieldName = 'deletedAt ' , bool $ timeAware = false , bool $ hardDelete = true , ?string $ nonDeletedColumnValue = null )
44
44
{
45
45
if ([] !== $ data ) {
46
46
Deprecation::trigger (
@@ -55,14 +55,14 @@ public function __construct(array $data = [], string $fieldName = 'deletedAt', b
55
55
$ this ->fieldName = $ this ->getAttributeValue ($ data , 'fieldName ' , $ args , 1 , $ fieldName );
56
56
$ this ->timeAware = $ this ->getAttributeValue ($ data , 'timeAware ' , $ args , 2 , $ timeAware );
57
57
$ this ->hardDelete = $ this ->getAttributeValue ($ data , 'hardDelete ' , $ args , 3 , $ hardDelete );
58
- $ this ->deletedValue = $ this ->getAttributeValue ($ data , 'deletedValue ' , $ args , 4 , $ deletedValue );
58
+ $ this ->nonDeletedColumnValue = $ this ->getAttributeValue ($ data , 'nonDeletedColumnValue ' , $ args , 4 , $ nonDeletedColumnValue );
59
59
60
60
return ;
61
61
}
62
62
63
63
$ this ->fieldName = $ fieldName ;
64
64
$ this ->timeAware = $ timeAware ;
65
65
$ this ->hardDelete = $ hardDelete ;
66
- $ this ->deletedValue = $ deletedValue ;
66
+ $ this ->nonDeletedColumnValue = $ nonDeletedColumnValue ;
67
67
}
68
68
}
0 commit comments