1 | <?php |
||
7 | trait QueryBuilder |
||
8 | { |
||
9 | /** |
||
10 | * Get a new query builder for the model. |
||
11 | * |
||
12 | * @return BuildsQueries |
||
13 | */ |
||
14 | abstract public function newQuery(); |
||
15 | |||
16 | /** |
||
17 | * Create a new query builder instance for this model type. |
||
18 | * |
||
19 | * @return BuildsQueries |
||
20 | */ |
||
21 | public static function query() |
||
25 | } |
||
26 |