We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 7 | class Campaign extends Model |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The table associated with the model. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $table = 'campaigns'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The attributes that are mass assignable. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $filliable = [ 'title', 'expires', 'id_user' ]; |
||
| 22 | |||
| 23 | protected $hidden = [ 'created_at', 'updated_at' ]; |
||
| 24 | |||
| 25 | public function author() |
||
| 29 | } |
||
| 30 |