protected function saveCenter() { $array = ['address_id' => $this->data['address']]; $this->center = \App\Baricenter::create($array); $this->addStars(); }