*/ protected $fillable = [ 'key_feed', 'key_earth_1', 'key_earth_2', 'key_together_1', 'key_together_2', 'key_together_3', 'key_together_4', 'key_territory', ]; /** * Perform any actions required after the model boots. * * @return void */ protected static function booted(): void { static::creating(function () { throw new \RuntimeException("Creating a new page is not authorized"); }); static::deleting(function () { throw new \RuntimeException('Deleting a page is not authorized'); }); } }