Browse Source

LuModel doc

tags/0.1.0
Robin Thoni 8 years ago
parent
commit
83ef1bb013
1 changed files with 14 additions and 12 deletions
  1. 14
    12
      src/Utils/LuModel.php

+ 14
- 12
src/Utils/LuModel.php View File

@@ -8,18 +8,20 @@ use Illuminate\Database\Eloquent\Model;
8 8
 /**
9 9
  * LuModel
10 10
  *
11
- * @method static LuModel where($column, $operator, $value)
12
- * @method static LuModel orWhere($column, $operator, $value)
13
- * @method static LuModel orderBy($column, $order)
14
- * @method static LuModel take($count)
15
- * @method static LuModel offset($offset)
16
- * @method static LuModel rightJoin($table, $column1, $operator, $column2)
17
- * @method static LuModel leftJoin($table, $column1, $operator, $column2)
18
- * @method static LuModel join($table, $column1, $operator, $column2)
19
- * @method static LuModel groupBy($column)
20
- * @method static LuModel[] get()
21
- * @method static LuModel first()
22
- * @method static int count()
11
+ * @method static LuModel where($column, $operator = null, $value = null, $boolean = 'and')
12
+ * @method static LuModel orWhere($column, $operator = null, $value = null)
13
+ * @method static LuModel orderBy($column, $direction = 'asc')
14
+ * @method static LuModel take($value)
15
+ * @method static LuModel offset($value)
16
+ * @method static LuModel rightJoin($table, $first, $operator = null, $second = null)
17
+ * @method static LuModel leftJoin($table, $first, $operator = null, $second = null)
18
+ * @method static LuModel join($table, $one, $operator = null, $two = null, $type = 'inner', $where = false)
19
+ * @method static LuModel groupBy(...$columns)
20
+ * @method static LuModel[] get($columns = ['*'])
21
+ * @method static LuModel first($columns = ['*'])
22
+ * @method static LuModel find($id, $columns = ['*'])
23
+ * @method static LuModel select($columns = ['*'])
24
+ * @method static int count($columns = '*')
23 25
  */
24 26
 abstract class LuModel extends Model
25 27
 {

Loading…
Cancel
Save