public function getRelativeClass($className)
    {
        if (strpos($className, '\\') !== false) {
            $className = substr($className, strrpos($className, '\\') + 1);
        }

        return $className;
    }
public function getRelativeClass($className)
    {
        if (strpos($className, '\\') !== false) {
            $className = substr($className, strrpos($className, '\\') + 1);
        }

        return $className;
    }
public function getRelativeClass ( $ className ) { if ( strpos ( $ className , '\\' ) !== false ) { $ className = substr ( $ className , strrpos ( $ className , '\\' ) + 1 ) ; } return $ className ; }
Returns a class name with namespaces removed.

@param string $className

@return string
Returns a class name with namespaces removed .