We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Bang extends Model |
||
| 9 | { |
||
| 10 | use CrudTrait; |
||
|
|
|||
| 11 | |||
| 12 | /* |
||
| 13 | |-------------------------------------------------------------------------- |
||
| 14 | | GLOBAL VARIABLES |
||
| 15 | |-------------------------------------------------------------------------- |
||
| 16 | */ |
||
| 17 | |||
| 18 | protected $table = 'bangs'; |
||
| 19 | protected $primaryKey = 'id'; |
||
| 20 | public $timestamps = false; |
||
| 21 | protected $fillable = ['name']; |
||
| 22 | |||
| 23 | public function accountDetails() |
||
| 24 | { |
||
| 25 | return $this->belongsToMany('Backpack\CRUD\Tests\config\Models\AccountDetails'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function identifiableAttribute() |
||
| 31 | } |
||
| 32 | } |
||
| 33 |