for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
namespace App\Models;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Model;
class Recommend extends Model
{
use CrudTrait;
Backpack\CRUD\app\Models\Traits\CrudTrait
App\Models\Recommend
$fakeColumns
$identifiableAttribute
$Type
/*
|--------------------------------------------------------------------------
| GLOBAL VARIABLES
*/
protected $table = 'recommends';
protected $primaryKey = 'id';
public $timestamps = true;
protected $fillable = ['title'];
// protected $hidden = [];
// protected $dates = [];
| FUNCTIONS
| RELATIONS
public function monsters()
return $this->morphedByMany(\App\Models\Monster::class, 'recommendable');
}
public function icons()
return $this->morphedByMany(\App\Models\Icon::class, 'recommendable');
| SCOPES
| ACCESORS
| MUTATORS