Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
8 | final class Timestamp extends Column |
||
9 | { |
||
10 | public const CURRENT_TIMESTAMP = 'CURRENT_TIMESTAMP'; |
||
11 | |||
12 | /** |
||
13 | * @param array{ |
||
14 | * null: bool, |
||
15 | * default: ?string, |
||
16 | * unique: bool, |
||
17 | * } $an_array |
||
18 | */ |
||
19 | public static function __set_state(array $an_array): self |
||
25 | ); |
||
26 | } |
||
27 | |||
28 | public function __construct( |
||
40 |