public function validateEmailSubjectPrefix($subjectPrefix)
    {
        if (mb_strlen($subjectPrefix, 'UTF-8') > 255) {
            $this->addError(EmailConfigurationTransformer::EMAIL_SUBJECT_PREFIX, 'Subject prefix length has to be less or equal to 255');
            return false;
        }

        return true;
    }
public function validateEmailSubjectPrefix($subjectPrefix)
    {
        if (mb_strlen($subjectPrefix, 'UTF-8') > 255) {
            $this->addError(EmailConfigurationTransformer::EMAIL_SUBJECT_PREFIX, 'Subject prefix length has to be less or equal to 255');
            return false;
        }

        return true;
    }
public function validateEmailSubjectPrefix ( $ subjectPrefix ) { if ( mb_strlen ( $ subjectPrefix , 'UTF-8' ) > 255 ) { $ this -> addError ( EmailConfigurationTransformer :: EMAIL_SUBJECT_PREFIX , 'Subject prefix length has to be less or equal to 255' ) ; return false ; } return true ; }
Validate subject prefix

@param mixed $subjectPrefix

@return bool
Validate subject prefix