original_string: public function addObjectToFolder(
          $repositoryId,
          $objectId,
          $folderId,
          $allVersions = true,
          ExtensionDataInterface $extension = null
      )
      {
          $url = $this->getObjectUrl($repositoryId, $objectId);
  
          $queryArray = [
              Constants::CONTROL_CMISACTION => Constants::CMISACTION_ADD_OBJECT_TO_FOLDER,
              Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
              Constants::PARAM_FOLDER_ID => $folderId,
              Constants::PARAM_ALL_VERSIONS => $allVersions ? 'true' : 'false',
          ];
  
          $this->post($url, $queryArray);
      }
code: public function addObjectToFolder(
          $repositoryId,
          $objectId,
          $folderId,
          $allVersions = true,
          ExtensionDataInterface $extension = null
      )
      {
          $url = $this->getObjectUrl($repositoryId, $objectId);
  
          $queryArray = [
              Constants::CONTROL_CMISACTION => Constants::CMISACTION_ADD_OBJECT_TO_FOLDER,
              Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
              Constants::PARAM_FOLDER_ID => $folderId,
              Constants::PARAM_ALL_VERSIONS => $allVersions ? 'true' : 'false',
          ];
  
          $this->post($url, $queryArray);
      }
code_tokens: public function addObjectToFolder ( $ repositoryId , $ objectId , $ folderId , $ allVersions = true , ExtensionDataInterface $ extension = null ) { $ url = $ this -> getObjectUrl ( $ repositoryId , $ objectId ) ; $ queryArray = [ Constants :: CONTROL_CMISACTION => Constants :: CMISACTION_ADD_OBJECT_TO_FOLDER , Constants :: PARAM_SUCCINCT => $ this -> getSuccinct ( ) ? 'true' : 'false' , Constants :: PARAM_FOLDER_ID => $ folderId , Constants :: PARAM_ALL_VERSIONS => $ allVersions ? 'true' : 'false' , ] ; $ this -> post ( $ url , $ queryArray ) ; }
docstring: Adds an existing fileable non-folder object to a folder.
  
  @param string $repositoryId The identifier for the repository.
  @param string $objectId The identifier for the object.
  @param string $folderId The folder into which the object is to be filed.
  @param boolean $allVersions Add all versions of the object to the folder if the repository
  supports version-specific filing. Defaults to <code>true</code>.
  @param ExtensionDataInterface|null $extension
docstring_tokens: Adds an existing fileable non - folder object to a folder .