public function getClassNameForDomain()
    {
        $className = str_replace(array('-', ' '), '', ucwords(strtolower($this->getDomain())));

        if (is_numeric(mb_substr($className, 0, 1))) {
            $className = 'N'.$className;
        }

        return $className;
    }
public function getClassNameForDomain()
    {
        $className = str_replace(array('-', ' '), '', ucwords(strtolower($this->getDomain())));

        if (is_numeric(mb_substr($className, 0, 1))) {
            $className = 'N'.$className;
        }

        return $className;
    }
public function getClassNameForDomain ( ) { $ className = str_replace ( array ( '-' , ' ' ) , '' , ucwords ( strtolower ( $ this -> getDomain ( ) ) ) ) ; if ( is_numeric ( mb_substr ( $ className , 0 , 1 ) ) ) { $ className = 'N' . $ className ; } return $ className ; }
Return ClassName for domain.

Domains started with numbers will get N prepended to their class name.

@return string
Return ClassName for domain .