Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Symftony\Xpression\Expr; |
6 | |
7 | interface ExpressionBuilderInterface |
8 | { |
9 | /** |
10 | * Must return all supported token type. |
11 | */ |
12 | public function getSupportedTokenType(): int; |
13 | |
14 | public function parameter(mixed $value, bool $isValue = false): mixed; |
15 | |
16 | public function string(mixed $value): mixed; |
17 | |
18 | public function isNull(string $field): mixed; |
19 | |
20 | public function eq(string $field, mixed $value): mixed; |
21 | |
22 | public function neq(string $field, mixed $value): mixed; |
23 | |
24 | public function gt(string $field, mixed $value): mixed; |
25 | |
26 | public function gte(string $field, mixed $value): mixed; |
27 | |
28 | public function lt(string $field, mixed $value): mixed; |
29 | |
30 | public function lte(string $field, mixed $value): mixed; |
31 | |
32 | public function in(string $field, array $values): mixed; |
33 | |
34 | public function notIn(string $field, array $values): mixed; |
35 | |
36 | public function contains(string $field, mixed $value): mixed; |
37 | |
38 | public function notContains(string $field, mixed $value): mixed; |
39 | |
40 | public function andX(array $expressions): mixed; |
41 | |
42 | public function nandX(array $expressions): mixed; |
43 | |
44 | public function orX(array $expressions): mixed; |
45 | |
46 | public function norX(array $expressions): mixed; |
47 | |
48 | public function xorX(array $expressions): mixed; |
49 | } |