1 | <?php |
||
2 | |||
3 | namespace GeekLab\GLPDO2\Bindings; |
||
4 | |||
5 | use Exception; |
||
6 | |||
7 | interface LogicBindingInterface |
||
8 | { |
||
9 | /** |
||
10 | * Bind a boolean value as bool, with NULL option. |
||
11 | * |
||
12 | * @param bool | int | null $value |
||
13 | * @param bool $null |
||
14 | * |
||
15 | * @return array{?bool, int} |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
16 | * @throws Exception |
||
17 | */ |
||
18 | public function bBool(bool | int | null $value = null, bool $null = false): array; |
||
19 | |||
20 | /** |
||
21 | * Bind a boolean value as int, with NULL option. |
||
22 | * |
||
23 | * @param bool | int | null $value |
||
24 | * @param bool $null |
||
25 | * |
||
26 | * @return array{?int, int} |
||
0 ignored issues
–
show
|
|||
27 | * @throws Exception |
||
28 | */ |
||
29 | public function bBoolInt(bool | int | null $value = null, bool $null = false): array; |
||
30 | } |
||
31 |