nome = $nome; $model->save(); return $model; } public function articoli() { return $this->hasMany(Articolo::class, 'id_categoria'); } }