| 1 | <?php namespace Arcanedev\LaravelTracker\Models; |
||
| 14 | class Query extends Model |
||
| 15 | { |
||
| 16 | /* ------------------------------------------------------------------------------------------------ |
||
| 17 | | Properties |
||
| 18 | | ------------------------------------------------------------------------------------------------ |
||
| 19 | */ |
||
| 20 | /** |
||
| 21 | * The table associated with the model. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $table = 'queries'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The attributes that are mass assignable. |
||
| 29 | * |
||
| 30 | * @var array |
||
| 31 | */ |
||
| 32 | protected $fillable = ['query']; |
||
| 33 | |||
| 34 | /* ------------------------------------------------------------------------------------------------ |
||
| 35 | | Relationships |
||
| 36 | | ------------------------------------------------------------------------------------------------ |
||
| 37 | */ |
||
| 38 | /** |
||
| 39 | * The arguments relationship. |
||
| 40 | * |
||
| 41 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 42 | */ |
||
| 43 | 6 | public function arguments() |
|
| 49 | } |
||
| 50 |