original_string: public function getContentChanges(
          $repositoryId,
          &$changeLogToken = null,
          $includeProperties = false,
          $includePolicyIds = false,
          $includeAcl = false,
          $maxItems = null,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getRepositoryUrl($repositoryId, Constants::SELECTOR_CONTENT_CHANGES);
  
          $url->getQuery()->modify(
              [
                  Constants::PARAM_PROPERTIES => $includeProperties ? 'true' : 'false',
                  Constants::PARAM_POLICY_IDS => $includePolicyIds ? 'true' : 'false',
                  Constants::PARAM_ACL => $includeAcl ? 'true' : 'false',
                  Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
              ]
          );
  
          if ($changeLogToken !== null) {
              $url->getQuery()->modify([Constants::PARAM_CHANGE_LOG_TOKEN => (string) $changeLogToken]);
          }
  
          if ($maxItems > 0) {
              $url->getQuery()->modify([Constants::PARAM_MAX_ITEMS => (string) $maxItems]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          // $changeLogToken was passed by reference. The value is changed here
          $changeLogToken = $responseData[JSONConstants::JSON_OBJECTLIST_CHANGE_LOG_TOKEN] ?? null;
  
          // TODO Implement Cache
          return $this->getJsonConverter()->convertObjectList($responseData);
      }
code: public function getContentChanges(
          $repositoryId,
          &$changeLogToken = null,
          $includeProperties = false,
          $includePolicyIds = false,
          $includeAcl = false,
          $maxItems = null,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getRepositoryUrl($repositoryId, Constants::SELECTOR_CONTENT_CHANGES);
  
          $url->getQuery()->modify(
              [
                  Constants::PARAM_PROPERTIES => $includeProperties ? 'true' : 'false',
                  Constants::PARAM_POLICY_IDS => $includePolicyIds ? 'true' : 'false',
                  Constants::PARAM_ACL => $includeAcl ? 'true' : 'false',
                  Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
              ]
          );
  
          if ($changeLogToken !== null) {
              $url->getQuery()->modify([Constants::PARAM_CHANGE_LOG_TOKEN => (string) $changeLogToken]);
          }
  
          if ($maxItems > 0) {
              $url->getQuery()->modify([Constants::PARAM_MAX_ITEMS => (string) $maxItems]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          // $changeLogToken was passed by reference. The value is changed here
          $changeLogToken = $responseData[JSONConstants::JSON_OBJECTLIST_CHANGE_LOG_TOKEN] ?? null;
  
          // TODO Implement Cache
          return $this->getJsonConverter()->convertObjectList($responseData);
      }
code_tokens: public function getContentChanges ( $ repositoryId , & $ changeLogToken = null , $ includeProperties = false , $ includePolicyIds = false , $ includeAcl = false , $ maxItems = null , ExtensionDataInterface $ extension = null ) { $ url = $ this -> getRepositoryUrl ( $ repositoryId , Constants :: SELECTOR_CONTENT_CHANGES ) ; $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_PROPERTIES => $ includeProperties ? 'true' : 'false' , Constants :: PARAM_POLICY_IDS => $ includePolicyIds ? 'true' : 'false' , Constants :: PARAM_ACL => $ includeAcl ? 'true' : 'false' , Constants :: PARAM_SUCCINCT => $ this -> getSuccinct ( ) ? 'true' : 'false' , ] ) ; if ( $ changeLogToken !== null ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_CHANGE_LOG_TOKEN => ( string ) $ changeLogToken ] ) ; } if ( $ maxItems > 0 ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_MAX_ITEMS => ( string ) $ maxItems ] ) ; } $ responseData = ( array ) $ this -> readJson ( $ url ) ; // $changeLogToken was passed by reference. The value is changed here $ changeLogToken = $ responseData [ JSONConstants :: JSON_OBJECTLIST_CHANGE_LOG_TOKEN ] ?? null ; // TODO Implement Cache return $ this -> getJsonConverter ( ) -> convertObjectList ( $ responseData ) ; }
docstring: Gets a list of content changes.
  
  @param string $repositoryId The identifier for the repository.
  @param string|null $changeLogToken If specified, then the repository MUST return the change event corresponding
  to the value of the specified change log token as the first result in the output.
  If not specified, then the repository MUST return the first change event recorded in the change log.
  @param boolean $includeProperties If <code>true</code>, then the repository MUST include the updated property
  values for "updated" change events if the repository supports returning property values as specified by
  capbilityChanges.
  If <code>false</code>, then the repository MUST NOT include the updated property values for
  "updated" change events. The single exception to this is that the property cmis:objectId MUST always
  be included.
  @param boolean $includePolicyIds If <code>true</code>, then the repository MUST include the ids of the policies
  applied to the object referenced in each change event, if the change event modified the set of policies
  applied to the object.
  If <code>false</code>, then the repository MUST not include policy information.
  @param boolean $includeAcl If <code>true</code>, then the repository MUST return the ACLs for each object in the
  result set. Defaults to <code>false</code>.
  @param integer|null $maxItems the maximum number of items to return in a response
  (default is repository specific)
  @param ExtensionDataInterface|null $extension
  @return ObjectListInterface
docstring_tokens: Gets a list of content changes .