Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
13 | class PaginationWalker extends SqlWalker |
||
14 | { |
||
15 | /** |
||
16 | * Walks down a SelectClause AST node, thereby generating the appropriate SQL. |
||
17 | * |
||
18 | * @param SelectClause $selectClause |
||
19 | * @return string The SQL. |
||
20 | * |
||
21 | * Usage: |
||
22 | * |
||
23 | * <pre> |
||
24 | * $query->setHint(DoctrineQuery::HINT_CUSTOM_OUTPUT_WALKER, PaginationWalker::class); |
||
25 | * $query->setHint('mysqlWalker.sqlCalcFoundRows', true); |
||
26 | * </pre> |
||
27 | */ |
||
28 | public function walkSelectClause($selectClause): string |
||
43 |