protected function cursor(EncodingParametersInterface $parameters)
    {
        return Cursor::create(
            (array) $parameters->getPaginationParameters(),
            $this->before,
            $this->after,
            $this->limit
        );
    }
protected function cursor(EncodingParametersInterface $parameters)
    {
        return Cursor::create(
            (array) $parameters->getPaginationParameters(),
            $this->before,
            $this->after,
            $this->limit
        );
    }
Extract the cursor from the provided paging parameters.

@param EncodingParametersInterface $parameters
@return Cursor