| 1 | <?php |
||
| 10 | class Factory |
||
| 11 | { |
||
| 12 | private $namespace = 'Mattbit\Flat\Query\Expression'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Return an Expression based on the operator. |
||
| 16 | * |
||
| 17 | * @param $operator |
||
| 18 | * @param $key |
||
| 19 | * @param $reference |
||
| 20 | * @return ExpressionInterface |
||
| 21 | * @throws \Exception |
||
| 22 | */ |
||
| 23 | 5 | public function make($operator, $key = null, $reference = null) |
|
| 56 | |||
| 57 | 2 | protected function classFromOperator($prefix, $operator) |
|
| 66 | } |
||
| 67 |