public static function findAliases($query)
    {
        $query = '@' . str_replace('@', '', $query);
        $pattern = '/' . preg_quote($query, '/') . '/';
        return preg_grep($pattern, self::aliasList());
    }
public static function findAliases($query)
    {
        $query = '@' . str_replace('@', '', $query);
        $pattern = '/' . preg_quote($query, '/') . '/';
        return preg_grep($pattern, self::aliasList());
    }
public static function findAliases ( $ query ) { $ query = '@' . str_replace ( '@' , '' , $ query ) ; $ pattern = '/' . preg_quote ( $ query , '/' ) . '/' ; return preg_grep ( $ pattern , self :: aliasList ( ) ) ; }
Searches all path aliases.
@param string $query search string started with @
@return array found system path aliases matching search query.
Searches all path aliases .