set days of week using bitwise operators
This commit is contained in:
@@ -26,5 +26,15 @@ return [
|
||||
'MOGAS' => 2,
|
||||
],
|
||||
|
||||
'days' => [
|
||||
'MONDAY' => 1,
|
||||
'TUESDAY' => 2,
|
||||
'WEDNESDAY' => 4,
|
||||
'THURSDAY' => 8,
|
||||
'FRIDAY' => 16,
|
||||
'SATURDAY' => 32,
|
||||
'SUNDAY' => 64
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user