| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class ScriptReview extends Model implements ScriptReviewAttributes, Ownable |
||
| 19 | { |
||
| 20 | use ModelFactory, SoftDeletes, OwnedByUser; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $collection = 'script_reviews'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected $guarded = []; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var array |
||
| 34 | */ |
||
| 35 | protected $casts = []; |
||
| 36 | |||
| 37 | protected $dates = [ |
||
| 38 | 'created_at', |
||
| 39 | 'updated_at', |
||
| 40 | 'deleted_at', |
||
| 41 | ]; |
||
| 42 | |||
| 43 | 1 | public function reply(){ |
|
| 45 | } |
||
| 46 | |||
| 47 | public function script(){ |
||
| 48 | return $this->belongsTo(Script::class); |
||
| 49 | } |
||
| 50 | |||
| 51 | public function user(){ |
||
| 53 | } |
||
| 54 | } |
||
| 55 |