getTypes() public method

public getTypes ( ) : array | Type[]
return array | Type[]
示例#1
0
 private function assembleClassMap(TypeMap $typeMap, $linefeed, $indentation)
 {
     $classMap = [];
     foreach ($typeMap->getTypes() as $type) {
         $classMap[] = sprintf('%snew ClassMap(\'%s\', \\%s::class),', $indentation, $type->getXsdName(), $type->getFullName());
     }
     return implode($linefeed, $classMap);
 }