public static function getShortName($objectOrString)
    {
        $parts = explode('\\', is_object($objectOrString) ? get_class($objectOrString) : $objectOrString);
        return end($parts);
    }
public static function getShortName($objectOrString)
    {
        $parts = explode('\\', is_object($objectOrString) ? get_class($objectOrString) : $objectOrString);
        return end($parts);
    }
public static function getShortName ( $ objectOrString ) { $ parts = explode ( '\\' , is_object ( $ objectOrString ) ? get_class ( $ objectOrString ) : $ objectOrString ) ; return end ( $ parts ) ; }
Returns the class name of an object, without the namespace

@param object|string $objectOrString

@return string
Returns the class name of an object without the namespace