Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class QueryType extends Enum |
||
13 | { |
||
14 | const ENTITIES = 'ENTITIES'; |
||
15 | const COUNT = 'COUNT'; |
||
16 | const ENTITIES_WITH_COUNT = 'ENTITIES_WITH_COUNT'; |
||
17 | |||
18 | /** |
||
19 | * Check if supplied query type covers entities |
||
20 | * |
||
21 | * @param QueryType $queryType |
||
22 | * @return bool |
||
23 | */ |
||
24 | public static function hasEntities(QueryType $queryType) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Check if supplied query type covers record counts |
||
31 | * |
||
32 | * @param QueryType $queryType |
||
33 | * @return bool |
||
34 | */ |
||
35 | public static function hasCount(QueryType $queryType) |
||
40 |