original_string: public function getObject(
          $repositoryId,
          $objectId,
          $filter = null,
          $includeAllowableActions = false,
          IncludeRelationships $includeRelationships = null,
          $renditionFilter = Constants::RENDITION_NONE,
          $includePolicyIds = false,
          $includeAcl = false,
          ExtensionDataInterface $extension = null
      ) {
          $cacheKey = $this->createCacheKey(
              $objectId,
              [
                  $repositoryId,
                  $filter,
                  $includeAllowableActions,
                  $includeRelationships,
                  $renditionFilter,
                  $includePolicyIds,
                  $includeAcl,
                  $extension,
                  $this->getSuccinct()
              ]
          );
          if ($this->isCached($cacheKey)) {
              return $this->getCached($cacheKey);
          }
          $url = $this->getObjectUrl($repositoryId, $objectId, Constants::SELECTOR_OBJECT);
          $url->getQuery()->modify(
              [
                  Constants::PARAM_ALLOWABLE_ACTIONS => $includeAllowableActions ? 'true' : 'false',
                  Constants::PARAM_RENDITION_FILTER => $renditionFilter,
                  Constants::PARAM_POLICY_IDS => $includePolicyIds ? 'true' : 'false',
                  Constants::PARAM_ACL => $includeAcl ? 'true' : 'false',
                  Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
                  Constants::PARAM_DATETIME_FORMAT => (string) $this->getDateTimeFormat()
              ]
          );
  
          if (!empty($filter)) {
              $url->getQuery()->modify([Constants::PARAM_FILTER => (string) $filter]);
          }
  
          if ($includeRelationships !== null) {
              $url->getQuery()->modify([Constants::PARAM_RELATIONSHIPS => (string) $includeRelationships]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          return $this->cache(
              $cacheKey,
              $this->getJsonConverter()->convertObject($responseData)
          );
      }
code: public function getObject(
          $repositoryId,
          $objectId,
          $filter = null,
          $includeAllowableActions = false,
          IncludeRelationships $includeRelationships = null,
          $renditionFilter = Constants::RENDITION_NONE,
          $includePolicyIds = false,
          $includeAcl = false,
          ExtensionDataInterface $extension = null
      ) {
          $cacheKey = $this->createCacheKey(
              $objectId,
              [
                  $repositoryId,
                  $filter,
                  $includeAllowableActions,
                  $includeRelationships,
                  $renditionFilter,
                  $includePolicyIds,
                  $includeAcl,
                  $extension,
                  $this->getSuccinct()
              ]
          );
          if ($this->isCached($cacheKey)) {
              return $this->getCached($cacheKey);
          }
          $url = $this->getObjectUrl($repositoryId, $objectId, Constants::SELECTOR_OBJECT);
          $url->getQuery()->modify(
              [
                  Constants::PARAM_ALLOWABLE_ACTIONS => $includeAllowableActions ? 'true' : 'false',
                  Constants::PARAM_RENDITION_FILTER => $renditionFilter,
                  Constants::PARAM_POLICY_IDS => $includePolicyIds ? 'true' : 'false',
                  Constants::PARAM_ACL => $includeAcl ? 'true' : 'false',
                  Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
                  Constants::PARAM_DATETIME_FORMAT => (string) $this->getDateTimeFormat()
              ]
          );
  
          if (!empty($filter)) {
              $url->getQuery()->modify([Constants::PARAM_FILTER => (string) $filter]);
          }
  
          if ($includeRelationships !== null) {
              $url->getQuery()->modify([Constants::PARAM_RELATIONSHIPS => (string) $includeRelationships]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          return $this->cache(
              $cacheKey,
              $this->getJsonConverter()->convertObject($responseData)
          );
      }
code_tokens: public function getObject ( $ repositoryId , $ objectId , $ filter = null , $ includeAllowableActions = false , IncludeRelationships $ includeRelationships = null , $ renditionFilter = Constants :: RENDITION_NONE , $ includePolicyIds = false , $ includeAcl = false , ExtensionDataInterface $ extension = null ) { $ cacheKey = $ this -> createCacheKey ( $ objectId , [ $ repositoryId , $ filter , $ includeAllowableActions , $ includeRelationships , $ renditionFilter , $ includePolicyIds , $ includeAcl , $ extension , $ this -> getSuccinct ( ) ] ) ; if ( $ this -> isCached ( $ cacheKey ) ) { return $ this -> getCached ( $ cacheKey ) ; } $ url = $ this -> getObjectUrl ( $ repositoryId , $ objectId , Constants :: SELECTOR_OBJECT ) ; $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_ALLOWABLE_ACTIONS => $ includeAllowableActions ? 'true' : 'false' , Constants :: PARAM_RENDITION_FILTER => $ renditionFilter , Constants :: PARAM_POLICY_IDS => $ includePolicyIds ? 'true' : 'false' , Constants :: PARAM_ACL => $ includeAcl ? 'true' : 'false' , Constants :: PARAM_SUCCINCT => $ this -> getSuccinct ( ) ? 'true' : 'false' , Constants :: PARAM_DATETIME_FORMAT => ( string ) $ this -> getDateTimeFormat ( ) ] ) ; if ( ! empty ( $ filter ) ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_FILTER => ( string ) $ filter ] ) ; } if ( $ includeRelationships !== null ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_RELATIONSHIPS => ( string ) $ includeRelationships ] ) ; } $ responseData = ( array ) $ this -> readJson ( $ url ) ; return $ this -> cache ( $ cacheKey , $ this -> getJsonConverter ( ) -> convertObject ( $ responseData ) ) ; }
docstring: Gets the specified information for the object specified by id.
  
  @param string $repositoryId the identifier for the repository
  @param string $objectId the identifier for the object
  @param string|null $filter a comma-separated list of query names that defines which properties must be
  returned by the repository (default is repository specific)
  @param boolean $includeAllowableActions if <code>true</code>, then the repository must return the allowable
  actions for the object (default is <code>false</code>)
  @param IncludeRelationships|null $includeRelationships indicates what relationships in which the objects
  participate must be returned (default is <code>IncludeRelationships::NONE</code>)
  @param string $renditionFilter indicates what set of renditions the repository must return whose kind
  matches this filter (default is "cmis:none")
  @param boolean $includePolicyIds if <code>true</code>, then the repository must return the policy ids for
  the object (default is <code>false</code>)
  @param boolean $includeAcl if <code>true</code>, then the repository must return the ACL for the object
  (default is <code>false</code>)
  @param ExtensionDataInterface|null $extension
  @return ObjectDataInterface|null Returns object of type ObjectDataInterface or <code>null</code>
  if the repository response was empty
docstring_tokens: Gets the specified information for the object specified by id .