original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: 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
docstring_tokens: Create a private working copy of the document .