original_string: public function getTypeChildren(
          $repositoryId,
          $typeId = null,
          $includePropertyDefinitions = false,
          $maxItems = null,
          $skipCount = 0,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getRepositoryUrl($repositoryId, Constants::SELECTOR_TYPE_CHILDREN);
          $url->getQuery()->modify(
              [
                  Constants::PARAM_PROPERTY_DEFINITIONS => $includePropertyDefinitions ? 'true' : 'false',
                  Constants::PARAM_SKIP_COUNT => $skipCount,
                  Constants::PARAM_DATETIME_FORMAT => (string) $this->getDateTimeFormat()
              ]
          );
  
          if ($typeId !== null) {
              $url->getQuery()->modify([Constants::PARAM_TYPE_ID => $typeId]);
          }
  
          if ($maxItems !== null) {
              $url->getQuery()->modify([Constants::PARAM_MAX_ITEMS => $maxItems]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          return $this->getJsonConverter()->convertTypeChildren($responseData);
      }
code: public function getTypeChildren(
          $repositoryId,
          $typeId = null,
          $includePropertyDefinitions = false,
          $maxItems = null,
          $skipCount = 0,
          ExtensionDataInterface $extension = null
      ) {
          $url = $this->getRepositoryUrl($repositoryId, Constants::SELECTOR_TYPE_CHILDREN);
          $url->getQuery()->modify(
              [
                  Constants::PARAM_PROPERTY_DEFINITIONS => $includePropertyDefinitions ? 'true' : 'false',
                  Constants::PARAM_SKIP_COUNT => $skipCount,
                  Constants::PARAM_DATETIME_FORMAT => (string) $this->getDateTimeFormat()
              ]
          );
  
          if ($typeId !== null) {
              $url->getQuery()->modify([Constants::PARAM_TYPE_ID => $typeId]);
          }
  
          if ($maxItems !== null) {
              $url->getQuery()->modify([Constants::PARAM_MAX_ITEMS => $maxItems]);
          }
  
          $responseData = (array) $this->readJson($url);
  
          return $this->getJsonConverter()->convertTypeChildren($responseData);
      }
code_tokens: public function getTypeChildren ( $ repositoryId , $ typeId = null , $ includePropertyDefinitions = false , $ maxItems = null , $ skipCount = 0 , ExtensionDataInterface $ extension = null ) { $ url = $ this -> getRepositoryUrl ( $ repositoryId , Constants :: SELECTOR_TYPE_CHILDREN ) ; $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_PROPERTY_DEFINITIONS => $ includePropertyDefinitions ? 'true' : 'false' , Constants :: PARAM_SKIP_COUNT => $ skipCount , Constants :: PARAM_DATETIME_FORMAT => ( string ) $ this -> getDateTimeFormat ( ) ] ) ; if ( $ typeId !== null ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_TYPE_ID => $ typeId ] ) ; } if ( $ maxItems !== null ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_MAX_ITEMS => $ maxItems ] ) ; } $ responseData = ( array ) $ this -> readJson ( $ url ) ; return $ this -> getJsonConverter ( ) -> convertTypeChildren ( $ responseData ) ; }
docstring: Returns the list of object types defined for the repository that are children of the specified type.
  
  @param string $repositoryId the identifier for the repository
  @param string|null $typeId the typeId of an object type specified in the repository
  (if not specified the repository MUST return all base object types)
  @param boolean $includePropertyDefinitions if <code>true</code> the repository MUST return the property
  definitions for each object type returned (default is <code>false</code>)
  @param integer|null $maxItems the maximum number of items to return in a response
  (default is repository specific)
  @param integer $skipCount number of potential results that the repository MUST skip/page over before
  returning any results (default is 0)
  @param ExtensionDataInterface|null $extension
  @return TypeDefinitionListInterface
docstring_tokens: Returns the list of object types defined for the repository that are children of the specified type .