Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | namespace BO\Zmsbackend\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\Zmsbackend\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 | } |