public function addError($error) { $this->propertyMapper->getMessages()->forProperty($this->propertyName)->addError($error); }