public function cursorToOffset($cursor): string
    {
        if (null === $cursor) {
            return '';
        }

        return \str_replace(static::PREFIX, '', \base64_decode($cursor, true));
    }
public function cursorToOffset($cursor): string
    {
        if (null === $cursor) {
            return '';
        }

        return \str_replace(static::PREFIX, '', \base64_decode($cursor, true));
    }
public function cursorToOffset ( $ cursor ) : string { if ( null === $ cursor ) { return '' ; } return \ str_replace ( static :: PREFIX , '' , \ base64_decode ( $ cursor , true ) ) ; }
Redefines the offset from the cursor string.

@param $cursor

@return string
Redefines the offset from the cursor string .