| 1 | <?php |
||
| 5 | trait From |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var FromStatement |
||
| 9 | */ |
||
| 10 | protected $from; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Sets the table for the query. |
||
| 14 | * |
||
| 15 | * @param string $table table name |
||
| 16 | * |
||
| 17 | * @return self |
||
| 18 | */ |
||
| 19 | public function from($table) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Gets the from statement for the query. |
||
| 28 | * |
||
| 29 | * @return FromStatement |
||
| 30 | */ |
||
| 31 | public function getFrom() |
||
| 35 | } |
||
| 36 |