Jackalope\Transport\Jackrabbit\Client::removeVersion PHP Method

removeVersion() public method

{@inheritDoc}
public removeVersion ( $versionPath, $versionName )
    public function removeVersion($versionPath, $versionName)
    {
        $path = $this->encodeAndValidatePathForDavex($versionPath . '/' . $versionName);
        $request = $this->getRequest(Request::DELETE, $path);
        $resp = $request->execute();
        return $resp;
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function removeVersion($versionPath, $versionName)
 {
     return $this->transport->removeVersion($versionPath, $versionName);
 }