| Total Complexity | 1 | 
| Total Lines | 49 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 5 | class Operators  | 
            ||
| 6 | { | 
            ||
| 7 | private static $operatorMap = [  | 
            ||
| 8 | 'eq' => [  | 
            ||
| 9 | 'meta' => '=',  | 
            ||
| 10 | ],  | 
            ||
| 11 | 'neq' => [  | 
            ||
| 12 | 'meta' => '!=',  | 
            ||
| 13 | ],  | 
            ||
| 14 | 'gt' => [  | 
            ||
| 15 | 'meta' => '>',  | 
            ||
| 16 | ],  | 
            ||
| 17 | 'gte' => [  | 
            ||
| 18 | 'meta' => '>=',  | 
            ||
| 19 | ],  | 
            ||
| 20 | 'lt' => [  | 
            ||
| 21 | 'meta' => '<',  | 
            ||
| 22 | ],  | 
            ||
| 23 | 'lte' => [  | 
            ||
| 24 | 'meta' => '<=',  | 
            ||
| 25 | ],  | 
            ||
| 26 | 'startswith' => [  | 
            ||
| 27 | 'meta' => 'LIKE',  | 
            ||
| 28 |             'substitution_pattern' => '{string}%' | 
            ||
| 29 | ],  | 
            ||
| 30 | 'contains' => [  | 
            ||
| 31 | 'meta' => 'LIKE',  | 
            ||
| 32 |             'substitution_pattern' => '%{string}%' | 
            ||
| 33 | ],  | 
            ||
| 34 | 'notcontains' => [  | 
            ||
| 35 | 'meta' => 'NOT LIKE',  | 
            ||
| 36 |             'substitution_pattern' => '%{string}%' | 
            ||
| 37 | ],  | 
            ||
| 38 | 'endswith' => [  | 
            ||
| 39 | 'meta' => 'LIKE',  | 
            ||
| 40 |             'substitution_pattern' => '%{string}' | 
            ||
| 41 | ],  | 
            ||
| 42 | 'list' => [  | 
            ||
| 43 | 'meta' => 'IN',  | 
            ||
| 44 |             'substitution_pattern' => '({string})', | 
            ||
| 45 | ],  | 
            ||
| 46 | 'field_eq' => [  | 
            ||
| 47 | 'meta' => '=',  | 
            ||
| 48 | ],  | 
            ||
| 49 | ];  | 
            ||
| 50 | |||
| 51 | public static function getOperators()  | 
            ||
| 57 |