original_string: public function getCheckedOutDocs(OperationContextInterface $context = null)
      {
          $context = $this->ensureContext($context);
          $checkedOutDocs = $this->getBinding()->getNavigationService()->getCheckedOutDocs(
              $this->getRepositoryId(),
              $this->getId(),
              $context->getQueryFilterString(),
              $context->getOrderBy(),
              $context->isIncludeAllowableActions(),
              $context->getIncludeRelationships(),
              $context->getRenditionFilterString()
          );
  
          $result = [];
          $objectFactory = $this->getObjectFactory();
          foreach ($checkedOutDocs->getObjects() as $objectData) {
              $document = $objectFactory->convertObject($objectData, $context);
              if (!($document instanceof DocumentInterface)) {
                  // should not happen but could happen if the repository is not implemented correctly ...
                  continue;
              }
  
              $result[] = $document;
          }
  
          return $result;
      }
code: public function getCheckedOutDocs(OperationContextInterface $context = null)
      {
          $context = $this->ensureContext($context);
          $checkedOutDocs = $this->getBinding()->getNavigationService()->getCheckedOutDocs(
              $this->getRepositoryId(),
              $this->getId(),
              $context->getQueryFilterString(),
              $context->getOrderBy(),
              $context->isIncludeAllowableActions(),
              $context->getIncludeRelationships(),
              $context->getRenditionFilterString()
          );
  
          $result = [];
          $objectFactory = $this->getObjectFactory();
          foreach ($checkedOutDocs->getObjects() as $objectData) {
              $document = $objectFactory->convertObject($objectData, $context);
              if (!($document instanceof DocumentInterface)) {
                  // should not happen but could happen if the repository is not implemented correctly ...
                  continue;
              }
  
              $result[] = $document;
          }
  
          return $result;
      }
code_tokens: public function getCheckedOutDocs ( OperationContextInterface $ context = null ) { $ context = $ this -> ensureContext ( $ context ) ; $ checkedOutDocs = $ this -> getBinding ( ) -> getNavigationService ( ) -> getCheckedOutDocs ( $ this -> getRepositoryId ( ) , $ this -> getId ( ) , $ context -> getQueryFilterString ( ) , $ context -> getOrderBy ( ) , $ context -> isIncludeAllowableActions ( ) , $ context -> getIncludeRelationships ( ) , $ context -> getRenditionFilterString ( ) ) ; $ result = [ ] ; $ objectFactory = $ this -> getObjectFactory ( ) ; foreach ( $ checkedOutDocs -> getObjects ( ) as $ objectData ) { $ document = $ objectFactory -> convertObject ( $ objectData , $ context ) ; if ( ! ( $ document instanceof DocumentInterface ) ) { // should not happen but could happen if the repository is not implemented correctly ... continue ; } $ result [ ] = $ document ; } return $ result ; }
docstring: Returns all checked out documents in this folder using the given OperationContext.
  
  @param OperationContextInterface|null $context
  @return DocumentInterface[] A list of checked out documents.
docstring_tokens: Returns all checked out documents in this folder using the given OperationContext .