public function getErrorMessage() { $string = new \Midori\String($this->propertyName); return sprintf($this->message, $string->titleize(true)); }