public function execute() { $this->area->setName($this->name); $this->area->setTerritory($this->territory); $this->area->setPercentCompleteness($this->percentCompleteness); $this->area->setCustomData($this->customData); $this->repository->update($this->area); }