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