public function updateTextOption(TextOption &$textOption) { $this->throwValidationErrors($textOption); $this->optionRepository->update($textOption); }