original_string: public function getRenditions(
          $repositoryId,
          $objectId,
          $renditionFilter = Constants::RENDITION_NONE,
          $maxItems = null,
          $skipCount = 0,
          ExtensionDataInterface $extension = null
      ) {
          if (empty($objectId)) {
              throw new CmisInvalidArgumentException('Object id must not be empty!');
          }
  
          if (!is_int($skipCount)) {
              throw new CmisInvalidArgumentException('Skip count must be of type integer!');
          }
  
          $url = $this->getObjectUrl($repositoryId, $objectId, Constants::SELECTOR_RENDITIONS);
          $url->getQuery()->modify(
              [
                  Constants::PARAM_RENDITION_FILTER => $renditionFilter,
                  Constants::PARAM_SKIP_COUNT => (string) $skipCount,
              ]
          );
  
          if ($maxItems !== null) {
              $url->getQuery()->modify([Constants::PARAM_MAX_ITEMS => (string) $maxItems]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          return $this->getJsonConverter()->convertRenditions($responseData);
      }
code: public function getRenditions(
          $repositoryId,
          $objectId,
          $renditionFilter = Constants::RENDITION_NONE,
          $maxItems = null,
          $skipCount = 0,
          ExtensionDataInterface $extension = null
      ) {
          if (empty($objectId)) {
              throw new CmisInvalidArgumentException('Object id must not be empty!');
          }
  
          if (!is_int($skipCount)) {
              throw new CmisInvalidArgumentException('Skip count must be of type integer!');
          }
  
          $url = $this->getObjectUrl($repositoryId, $objectId, Constants::SELECTOR_RENDITIONS);
          $url->getQuery()->modify(
              [
                  Constants::PARAM_RENDITION_FILTER => $renditionFilter,
                  Constants::PARAM_SKIP_COUNT => (string) $skipCount,
              ]
          );
  
          if ($maxItems !== null) {
              $url->getQuery()->modify([Constants::PARAM_MAX_ITEMS => (string) $maxItems]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          return $this->getJsonConverter()->convertRenditions($responseData);
      }
code_tokens: public function getRenditions ( $ repositoryId , $ objectId , $ renditionFilter = Constants :: RENDITION_NONE , $ maxItems = null , $ skipCount = 0 , ExtensionDataInterface $ extension = null ) { if ( empty ( $ objectId ) ) { throw new CmisInvalidArgumentException ( 'Object id must not be empty!' ) ; } if ( ! is_int ( $ skipCount ) ) { throw new CmisInvalidArgumentException ( 'Skip count must be of type integer!' ) ; } $ url = $ this -> getObjectUrl ( $ repositoryId , $ objectId , Constants :: SELECTOR_RENDITIONS ) ; $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_RENDITION_FILTER => $ renditionFilter , Constants :: PARAM_SKIP_COUNT => ( string ) $ skipCount , ] ) ; if ( $ maxItems !== null ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_MAX_ITEMS => ( string ) $ maxItems ] ) ; } $ responseData = ( array ) $ this -> readJson ( $ url ) ; return $ this -> getJsonConverter ( ) -> convertRenditions ( $ responseData ) ; }
docstring: Gets the list of associated renditions for the specified object.
  Only rendition attributes are returned, not rendition stream.
  
  @param string $repositoryId the identifier for the repository
  @param string $objectId the identifier for the object
  @param string $renditionFilter indicates what set of renditions the repository must return whose kind
  matches this filter (default is "cmis:none")
  @param integer|null $maxItems the maximum number of items to return in a response
  (default is repository specific)
  @param integer $skipCount number of potential results that the repository MUST skip/page over before
  returning any results (default is 0)
  @param ExtensionDataInterface|null $extension
  @return RenditionDataInterface[]
  @throws CmisInvalidArgumentException If object id is empty or skip count not of type integer
docstring_tokens: Gets the list of associated renditions for the specified object . Only rendition attributes are returned not rendition stream .