public function removeObjectFromFolder(
        $repositoryId,
        $objectId,
        $folderId = null,
        ExtensionDataInterface $extension = null
    )
    {
        $url = $this->getObjectUrl($repositoryId, $objectId);

        $queryArray = [
            Constants::CONTROL_CMISACTION => Constants::CMISACTION_REMOVE_OBJECT_FROM_FOLDER,
            Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
            Constants::PARAM_FOLDER_ID => $folderId,
        ];

        $this->post($url, $queryArray);
    }
public function removeObjectFromFolder(
        $repositoryId,
        $objectId,
        $folderId = null,
        ExtensionDataInterface $extension = null
    )
    {
        $url = $this->getObjectUrl($repositoryId, $objectId);

        $queryArray = [
            Constants::CONTROL_CMISACTION => Constants::CMISACTION_REMOVE_OBJECT_FROM_FOLDER,
            Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
            Constants::PARAM_FOLDER_ID => $folderId,
        ];

        $this->post($url, $queryArray);
    }
public function removeObjectFromFolder ( $ repositoryId , $ objectId , $ folderId = null , ExtensionDataInterface $ extension = null ) { $ url = $ this -> getObjectUrl ( $ repositoryId , $ objectId ) ; $ queryArray = [ Constants :: CONTROL_CMISACTION => Constants :: CMISACTION_REMOVE_OBJECT_FROM_FOLDER , Constants :: PARAM_SUCCINCT => $ this -> getSuccinct ( ) ? 'true' : 'false' , Constants :: PARAM_FOLDER_ID => $ folderId , ] ; $ this -> post ( $ url , $ queryArray ) ; }
Removes an existing fileable non-folder object from a folder.

@param string $repositoryId The identifier for the repository.
@param string $objectId The identifier for the object.
@param string|null $folderId The folder from which the object is to be removed.
If no value is specified, then the repository MUST remove the object from all folders in which it is
currently filed.
@param ExtensionDataInterface|null $extension
Removes an existing fileable non - folder object from a folder .