src/Core/ClassInfo.php
public static function shortName($nameOrObject)
    {
        $name = static::class_name($nameOrObject);
        $parts = explode('\\', $name);
        return end($parts);
    }
public static function shortName($nameOrObject)
    {
        $name = static::class_name($nameOrObject);
        $parts = explode('\\', $name);
        return end($parts);
    }
public static function shortName ( $ nameOrObject ) { $ name = static :: class_name ( $ nameOrObject ) ; $ parts = explode ( '\\' , $ name ) ; return end ( $ parts ) ; }
Strip namespace from class

@param string|object $nameOrObject Name of class, or instance
@return string Name of class without namespace
Strip namespace from class