public function checkOut(
        $repositoryId,
        & $objectId,
        ExtensionDataInterface $extension = null,
        $contentCopied = null
    ) {
        $objectData = $this->getJsonConverter()->convertObject(
            (array) $this->postJson(
                $this->getObjectUrl($repositoryId, $objectId),
                $this->createQueryArray(
                    Constants::CMISACTION_CHECK_OUT,
                    [],
                    $extension
                )
            )
        );
        $objectId = $objectData->getId();
    }
public function checkOut(
        $repositoryId,
        & $objectId,
        ExtensionDataInterface $extension = null,
        $contentCopied = null
    ) {
        $objectData = $this->getJsonConverter()->convertObject(
            (array) $this->postJson(
                $this->getObjectUrl($repositoryId, $objectId),
                $this->createQueryArray(
                    Constants::CMISACTION_CHECK_OUT,
                    [],
                    $extension
                )
            )
        );
        $objectId = $objectData->getId();
    }
public function checkOut ( $ repositoryId , & $ objectId , ExtensionDataInterface $ extension = null , $ contentCopied = null ) { $ objectData = $ this -> getJsonConverter ( ) -> convertObject ( ( array ) $ this -> postJson ( $ this -> getObjectUrl ( $ repositoryId , $ objectId ) , $ this -> createQueryArray ( Constants :: CMISACTION_CHECK_OUT , [ ] , $ extension ) ) ) ; $ objectId = $ objectData -> getId ( ) ; }
Create a private working copy of the document.

@param string $repositoryId the identifier for the repository
@param string $objectId input: the identifier for the document that should be checked out,
output: the identifier for the newly created PWC
@param ExtensionDataInterface|null $extension
@param boolean|null $contentCopied output: indicator if the content of the original
document has been copied to the PWC
Create a private working copy of the document .