original_string: public function deleteObject(
          $repositoryId,
          $objectId,
          $allVersions = true,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getObjectUrl($repositoryId, $objectId);
          $content = [
             Constants::CONTROL_CMISACTION => Constants::CMISACTION_DELETE,
             Constants::PARAM_ALL_VERSIONS => $allVersions ? 'true' : 'false',
             ];
  
          $this->post($url, $content);
          $this->flushCached();
      }
code: public function deleteObject(
          $repositoryId,
          $objectId,
          $allVersions = true,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getObjectUrl($repositoryId, $objectId);
          $content = [
             Constants::CONTROL_CMISACTION => Constants::CMISACTION_DELETE,
             Constants::PARAM_ALL_VERSIONS => $allVersions ? 'true' : 'false',
             ];
  
          $this->post($url, $content);
          $this->flushCached();
      }
code_tokens: public function deleteObject ( $ repositoryId , $ objectId , $ allVersions = true , ExtensionDataInterface $ extension = null ) { $ url = $ this -> getObjectUrl ( $ repositoryId , $ objectId ) ; $ content = [ Constants :: CONTROL_CMISACTION => Constants :: CMISACTION_DELETE , Constants :: PARAM_ALL_VERSIONS => $ allVersions ? 'true' : 'false' , ] ; $ this -> post ( $ url , $ content ) ; $ this -> flushCached ( ) ; }
docstring: Deletes the specified object.
  
  @param string $repositoryId the identifier for the repository
  @param string $objectId the identifier for the object
  @param boolean $allVersions If <code>true</code> then delete all versions of the document, otherwise delete only
  the document object specified (default is <code>true</code>)
  @param ExtensionDataInterface|null $extension
docstring_tokens: Deletes the specified object .