/** * Validates the subject. * * @throws UserInputException */ protected function validateSubject() { parent::validateSubject(); if (strlen($this->subject) < 4) { throw new UserInputException('subject', 'tooShort'); } }
/** * Validates the subject. * * @throws UserInputException */ protected function validateSubject() { parent::validateSubject(); if (strlen($this->subject) < 4) { throw new UserInputException('subject', 'tooShort'); } }