private static function _extractClassName($cls)
    {
        $tokens = preg_split("/\\\\/", $cls);
        $size   = sizeof($tokens);
        if ($size < 2) {
            return $cls;
        }
        return $tokens[$size-1];
    }
private static function _extractClassName($cls)
    {
        $tokens = preg_split("/\\\\/", $cls);
        $size   = sizeof($tokens);
        if ($size < 2) {
            return $cls;
        }
        return $tokens[$size-1];
    }
private static function _extractClassName ( $ cls ) { $ tokens = preg_split ( "/\\\\/" , $ cls ) ; $ size = sizeof ( $ tokens ) ; if ( $ size < 2 ) { return $ cls ; } return $ tokens [ $ size - 1 ] ; }
Extract namespace from class name

@param string $class class name

@return string $class class name
Extract namespace from class name