for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Siak\Tontine\Model;
use Illuminate\Database\Eloquent\Relations\Pivot;
class GuestOptions extends Pivot
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'guest_options';
* The attributes that are mass assignable.
* @var array
protected $fillable = [
'access',
];
* Get the attributes that should be cast.
* @return array<string, string>
protected function casts(): array
return [
'access' => 'array',
}