original_string: public function getFolderParent(
          $repositoryId,
          $folderId,
          $filter = null,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getObjectUrl($repositoryId, $folderId, Constants::SELECTOR_PARENT);
          $url->getQuery()->modify(
              [
                  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]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          // TODO Implement Cache
          return $this->getJsonConverter()->convertObject($responseData);
      }
code: public function getFolderParent(
          $repositoryId,
          $folderId,
          $filter = null,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getObjectUrl($repositoryId, $folderId, Constants::SELECTOR_PARENT);
          $url->getQuery()->modify(
              [
                  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]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          // TODO Implement Cache
          return $this->getJsonConverter()->convertObject($responseData);
      }
code_tokens: public function getFolderParent ( $ repositoryId , $ folderId , $ filter = null , ExtensionDataInterface $ extension = null ) { $ url = $ this -> getObjectUrl ( $ repositoryId , $ folderId , Constants :: SELECTOR_PARENT ) ; $ url -> getQuery ( ) -> modify ( [ 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 ] ) ; } $ responseData = ( array ) $ this -> readJson ( $ url ) ; // TODO Implement Cache return $ this -> getJsonConverter ( ) -> convertObject ( $ responseData ) ; }
docstring: Gets the parent folder object for the specified folder object.
  
  @param string $repositoryId the identifier for the repository
  @param string $folderId the identifier for the folder
  @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 ExtensionDataInterface|null $extension
  @return ObjectDataInterface
docstring_tokens: Gets the parent folder object for the specified folder object .