Page::class ]; /** * Engagment fillable fields * * @var array */ protected $fillable = [ 'title', 'description', 'keywords' ]; /** * Engagment translatable fields array * * @var array */ public $translatable = [ 'title', 'description', 'keywords' ]; /** * Get the route key for the model. * * @return string */ public function getRouteKeyName() { return 'page'; } }