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 | namespace BO\Zmsdb\Query\Builder; |
4 | |
5 | /** |
6 | * Interface ExpressionInterface |
7 | * |
8 | * Interface for expressions so you can create / pass your own. All we need |
9 | * is the __toString() function so the SQL builder can concatenate. |
10 | * |
11 | * @package BO\Zmsdb\Query\Builder |
12 | * @author Alex Gisby<alex@solution10.com> |
13 | * @license MIT |
14 | */ |
15 | interface ExpressionInterface |
16 | { |
17 | /** |
18 | * Return the expression ready for concatenation into the query |
19 | * |
20 | * @return string |
21 | */ |
22 | public function __toString(); |
23 | } |