original_string: public function getRootFolder(OperationContextInterface $context = null)
      {
          $rootFolderId = $this->getRepositoryInfo()->getRootFolderId();
  
          $rootFolder = $this->getObject(
              $this->createObjectId($rootFolderId),
              $context === null ? $this->getDefaultContext() : $context
          );
  
          if (!($rootFolder instanceof FolderInterface)) {
              throw new CmisRuntimeException('Root folder object is not a folder!', 1423735889);
          }
  
          return $rootFolder;
      }
code: public function getRootFolder(OperationContextInterface $context = null)
      {
          $rootFolderId = $this->getRepositoryInfo()->getRootFolderId();
  
          $rootFolder = $this->getObject(
              $this->createObjectId($rootFolderId),
              $context === null ? $this->getDefaultContext() : $context
          );
  
          if (!($rootFolder instanceof FolderInterface)) {
              throw new CmisRuntimeException('Root folder object is not a folder!', 1423735889);
          }
  
          return $rootFolder;
      }
code_tokens: public function getRootFolder ( OperationContextInterface $ context = null ) { $ rootFolderId = $ this -> getRepositoryInfo ( ) -> getRootFolderId ( ) ; $ rootFolder = $ this -> getObject ( $ this -> createObjectId ( $ rootFolderId ) , $ context === null ? $ this -> getDefaultContext ( ) : $ context ) ; if ( ! ( $ rootFolder instanceof FolderInterface ) ) { throw new CmisRuntimeException ( 'Root folder object is not a folder!' , 1423735889 ) ; } return $ rootFolder ; }
docstring: Gets the root folder of the repository with the given OperationContext.
  
  @param OperationContextInterface|null $context
  @return FolderInterface the root folder object
  @throws CmisRuntimeException
docstring_tokens: Gets the root folder of the repository with the given OperationContext .