public static function getAliasId($path)
    {
        return str_replace(
            ['/', '\\'],
            '.',
            Container::underscore(ltrim(substr($path, 0, (int) strrpos($path, '.')), '@'))
        );
    }
public static function getAliasId($path)
    {
        return str_replace(
            ['/', '\\'],
            '.',
            Container::underscore(ltrim(substr($path, 0, (int) strrpos($path, '.')), '@'))
        );
    }
public static function getAliasId ( $ path ) { return str_replace ( [ '/' , '\\' ] , '.' , Container :: underscore ( ltrim ( substr ( $ path , 0 , ( int ) strrpos ( $ path , '.' ) ) , '@' ) ) ) ; }
Returns the alias id for the given path.

@param  string $path
@return string
Returns the alias id for the given path .