1 | <?php |
||
2 | |||
3 | namespace Elgg\Database\Clauses; |
||
4 | |||
5 | use Doctrine\DBAL\Query\Expression\CompositeExpression; |
||
6 | use Elgg\Database\QueryBuilder; |
||
7 | |||
8 | /** |
||
9 | * Interface that allows resolving statements and/or extending query builder |
||
10 | */ |
||
11 | interface Clause { |
||
12 | |||
13 | /** |
||
14 | * Build an expression and/or apply it to an instance of query builder |
||
15 | * |
||
16 | * @param QueryBuilder $qb Query builder |
||
17 | * @param null $table_alias Table alias |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
18 | * |
||
19 | * @return CompositeExpression|null|string |
||
20 | */ |
||
21 | public function prepare(QueryBuilder $qb, $table_alias = null); |
||
22 | } |
||
23 |