public static function getClassName($namespaceClass)
    {
        $lastSlashPosition = mb_strrpos($namespaceClass, '\\');
    
        if ($lastSlashPosition !== false) {
            return mb_substr($namespaceClass, $lastSlashPosition + 1);
        }
    
        return $namespaceClass;
    }
public static function getClassName($namespaceClass)
    {
        $lastSlashPosition = mb_strrpos($namespaceClass, '\\');
    
        if ($lastSlashPosition !== false) {
            return mb_substr($namespaceClass, $lastSlashPosition + 1);
        }
    
        return $namespaceClass;
    }
public static function getClassName ( $ namespaceClass ) { $ lastSlashPosition = mb_strrpos ( $ namespaceClass , '\\' ) ; if ( $ lastSlashPosition !== false ) { return mb_substr ( $ namespaceClass , $ lastSlashPosition + 1 ) ; } return $ namespaceClass ; }
Get the class part of a fully namespaced class name
@param $namespaceClass
@return string
Get the class part of a fully namespaced class name