original_string: public function getChildren(OperationContextInterface $context = null)
      {
          $context = $this->ensureContext($context);
          $children = $this->getBinding()->getNavigationService()->getChildren(
              $this->getRepositoryId(),
              $this->getId(),
              $context->getQueryFilterString(),
              $context->getOrderBy(),
              $context->isIncludeAllowableActions(),
              $context->getIncludeRelationships(),
              $context->getRenditionFilterString(),
              $context->isIncludePathSegments()
          );
  
          $result = [];
          $objectFactory = $this->getObjectFactory();
          foreach ($children->getObjects() as $objectData) {
              if ($objectData->getObject() !== null) {
                  $result[] = $objectFactory->convertObject($objectData->getObject(), $context);
              }
          }
  
          return $result;
      }
code: public function getChildren(OperationContextInterface $context = null)
      {
          $context = $this->ensureContext($context);
          $children = $this->getBinding()->getNavigationService()->getChildren(
              $this->getRepositoryId(),
              $this->getId(),
              $context->getQueryFilterString(),
              $context->getOrderBy(),
              $context->isIncludeAllowableActions(),
              $context->getIncludeRelationships(),
              $context->getRenditionFilterString(),
              $context->isIncludePathSegments()
          );
  
          $result = [];
          $objectFactory = $this->getObjectFactory();
          foreach ($children->getObjects() as $objectData) {
              if ($objectData->getObject() !== null) {
                  $result[] = $objectFactory->convertObject($objectData->getObject(), $context);
              }
          }
  
          return $result;
      }
code_tokens: public function getChildren ( OperationContextInterface $ context = null ) { $ context = $ this -> ensureContext ( $ context ) ; $ children = $ this -> getBinding ( ) -> getNavigationService ( ) -> getChildren ( $ this -> getRepositoryId ( ) , $ this -> getId ( ) , $ context -> getQueryFilterString ( ) , $ context -> getOrderBy ( ) , $ context -> isIncludeAllowableActions ( ) , $ context -> getIncludeRelationships ( ) , $ context -> getRenditionFilterString ( ) , $ context -> isIncludePathSegments ( ) ) ; $ result = [ ] ; $ objectFactory = $ this -> getObjectFactory ( ) ; foreach ( $ children -> getObjects ( ) as $ objectData ) { if ( $ objectData -> getObject ( ) !== null ) { $ result [ ] = $ objectFactory -> convertObject ( $ objectData -> getObject ( ) , $ context ) ; } } return $ result ; }
docstring: Returns the children of this folder using the given OperationContext.
  
  @param OperationContextInterface|null $context
  @return CmisObjectInterface[] A list of the child objects for the specified folder.
docstring_tokens: Returns the children of this folder using the given OperationContext .