- \Swaggest\GoCodeBuilder\Import
- \Swaggest\GoCodeBuilder\GoCodeBuilder
- \Swaggest\GoCodeBuilder\Exception
- \Swaggest\GoCodeBuilder\JsonSchema\MarshalUnion
- \Swaggest\GoCodeBuilder\JsonSchema\MarshalEnum
- \Swaggest\GoCodeBuilder\JsonSchema\MarshalJson
- \Swaggest\GoCodeBuilder\JsonSchema\GeneratedStruct
- \Swaggest\GoCodeBuilder\JsonSchema\StructHookCallback
- \Swaggest\GoCodeBuilder\JsonSchema\StripPrefixPathToNameHook
- \Swaggest\GoCodeBuilder\JsonSchema\TypeBuilder
- \Swaggest\GoCodeBuilder\JsonSchema\Options
- \Swaggest\GoCodeBuilder\JsonSchema\UnmarshalUnion
- \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderPathToNameHook (interface)
- \Swaggest\GoCodeBuilder\JsonSchema\GoBuilder
- \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderStructHook (interface)
- \Swaggest\GoCodeBuilder\JsonSchema\Exception
- \Swaggest\GoCodeBuilder\Style\Initialisms
- \Swaggest\GoCodeBuilder\Templates\Code
- \Swaggest\GoCodeBuilder\Templates\Imports
- \Swaggest\GoCodeBuilder\Templates\GoTemplate (abstract)
- \Swaggest\GoCodeBuilder\Templates\GoFile
- \Swaggest\GoCodeBuilder\Templates\Constant\TypeConstBlock
- \Swaggest\GoCodeBuilder\Templates\Func\Argument
- \Swaggest\GoCodeBuilder\Templates\Func\FuncIface
- \Swaggest\GoCodeBuilder\Templates\Func\Result
- \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
- \Swaggest\GoCodeBuilder\Templates\Func\Arguments
- \Swaggest\GoCodeBuilder\Templates\Iface\IfaceDef
- \Swaggest\GoCodeBuilder\Templates\Mapping\Mapping
- \Swaggest\GoCodeBuilder\Templates\Struct\StructFunctions
- \Swaggest\GoCodeBuilder\Templates\Struct\StructFields
- \Swaggest\GoCodeBuilder\Templates\Struct\StructType
- \Swaggest\GoCodeBuilder\Templates\Struct\StructDef
- \Swaggest\GoCodeBuilder\Templates\Struct\Tags
- \Swaggest\GoCodeBuilder\Templates\Struct\StructProperty
- \Swaggest\GoCodeBuilder\Templates\Struct\StructCast
- \Swaggest\GoCodeBuilder\Templates\Struct\StructIface
- \Swaggest\GoCodeBuilder\Templates\Type\TypeCast
- \Swaggest\GoCodeBuilder\Templates\Type\TypeCastException
- \Swaggest\GoCodeBuilder\Templates\Type\NoOmitEmpty (interface)
- \Swaggest\GoCodeBuilder\Templates\Type\Type
- \Swaggest\GoCodeBuilder\Templates\Type\FuncType
- \Swaggest\GoCodeBuilder\Templates\Type\Map
- \Swaggest\GoCodeBuilder\Templates\Type\Pointer
- \Swaggest\GoCodeBuilder\Templates\Type\Slice
- \Swaggest\GoCodeBuilder\Templates\Type\AnyType (interface)
- \Swaggest\GoCodeBuilder\Templates\Type\NamedType (interface)
- \Swaggest\GoCodeBuilder\Templates\Type\TypeUtil
- \Swaggest\GoCodeBuilder\TypeCast\PropertyCast
- \Swaggest\GoCodeBuilder\TypeCast\Time
- \Swaggest\GoCodeBuilder\TypeCast\Registry (interface)
- \Swaggest\GoCodeBuilder\TypeCast\CastFunctions (interface)
- \Swaggest\GoCodeBuilder\TypeCast\CastRegistry
- \Swaggest\GoCodeBuilder\TypeCast\RegistryMux
Visibility | Function |
---|---|
public | __construct(mixed $name, mixed $alias=null, mixed $defaultPackageName=null) : void |
public | getPackage() : string |
public | getReferencePrefix() : mixed |
GoCodeBuilder provides file manager and names processor.
Visibility | Function |
---|---|
public | __construct() : void |
public | exportableName(mixed $name) : void |
public | privateName(mixed $name) : void |
public | setBuilderVersion(mixed $builderVersion) : void |
public | storeToDisk(mixed $srcPath) : void |
protected | toCamelCase(string $string, bool $lowerFirst=false) : string |
This class extends \Swaggest\CodeBuilder\CodeBuilder
Visibility | Function |
---|
This class extends \Exception
This class implements \Throwable
Visibility | Function |
---|---|
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Type\Type $type, \Swaggest\GoCodeBuilder\Templates\Type\NamedType $base, array $enum, \Swaggest\GoCodeBuilder\JsonSchema\GoBuilder $builder) : void MarshalEnum constructor. |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\JsonSchema\GoBuilder $builder, \Swaggest\GoCodeBuilder\Templates\Struct\StructDef $type) : void |
public | addNamedProperty(mixed $name) : void |
public | addPatternProperty(mixed $regex, mixed $name) : void |
public | addSomeOf(mixed $kind, mixed $name) : void |
public | enableAdditionalProperties(mixed $name) : void |
public | isAdditionalPropertiesEnabled() : bool |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|
Visibility | Function |
---|---|
public | __construct(\Closure $closure) : void StructHookCallback constructor. |
public | process(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $structDef, mixed $path, mixed $schema) : void |
This class implements \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderStructHook
Visibility | Function |
---|---|
public | pathToName(mixed $path) : void |
This class implements \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderPathToNameHook
Visibility | Function |
---|---|
public | __construct(\Swaggest\JsonSchema\Schema $schema, string $path, \Swaggest\GoCodeBuilder\JsonSchema\GoBuilder $goBuilder, \Swaggest\GoCodeBuilder\Templates\Struct\StructDef $parentStruct=null) : void TypeBuilder constructor. |
public | build() : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
Visibility | Function |
---|---|
public static | setUpProperties(\Swaggest\GoCodeBuilder\JsonSchema\Properties/\Swaggest\GoCodeBuilder\JsonSchema\static $properties, \Swaggest\JsonSchema\Schema $ownerSchema) : void |
This class extends \Swaggest\JsonSchema\Structure\ClassStructure
This class implements \Swaggest\JsonSchema\Structure\WithResolvedValue, \Swaggest\JsonSchema\Structure\ObjectItemContract, \Traversable, \Iterator, \JsonSerializable, \ArrayAccess, \Swaggest\JsonSchema\Structure\ClassStructureContract
Visibility | Function |
---|---|
public | patternVarName(mixed $pattern) : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | pathToName(mixed $path) : void |
Visibility | Function |
---|---|
public | __construct() : void |
public | getClass(\Swaggest\GoCodeBuilder\JsonSchema\Schema $schema, string $path) : \Swaggest\GoCodeBuilder\Templates\Struct\StructDef |
public | getCode() : mixed |
public | getGeneratedStruct(\Swaggest\GoCodeBuilder\JsonSchema\Schema $schema, string $path) : mixed/\Swaggest\GoCodeBuilder\JsonSchema\GeneratedStruct |
public | getGeneratedStructs() : \Swaggest\GoCodeBuilder\JsonSchema\GeneratedStruct[] |
public | getType(\Swaggest\GoCodeBuilder\JsonSchema\Schema $schema, string $path='#' , \Swaggest\GoCodeBuilder\Templates\Struct\StructDef $parentStruct=null) : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
public | pathToName(mixed $path) : void |
Visibility | Function |
---|---|
public | process(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $structDef, string $path, \Swaggest\GoCodeBuilder\JsonSchema\Schema $schema) : null |
Visibility | Function |
---|
This class extends \Exception
This class implements \Throwable
Visibility | Function |
---|---|
public | __construct() : void |
public | process(mixed $goName) : void |
Visibility | Function |
---|---|
public | __construct(mixed $body=null) : void |
public | addSnippet(mixed $code, bool $prepend=false, mixed $uniqueKey=null) : void |
public | imports() : \Swaggest\GoCodeBuilder\Templates\Imports |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | add(\Swaggest\GoCodeBuilder\Import $import) : \Swaggest\GoCodeBuilder\Templates$this |
public | addByName(mixed $name, mixed $alias=null) : void |
public | demand() : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | escapeValue(mixed $value) : void |
public | getComment() : string |
public | ifThenElse(mixed $condition, mixed $then, string $else='' ) : void |
public | padLines(mixed $with, mixed $text, bool $skipFirst=true, bool $forcePad=false) : void |
public | setComment(mixed $comment) : void |
public | stripEmptyLines(mixed $text) : void |
public | trim(mixed $s) : void |
protected | renderComment() : void |
This class extends \Swaggest\CodeBuilder\AbstractTemplate
Visibility | Function |
---|---|
public | __construct(string $package, string/null $importPath=null) : void GoFile constructor. |
public | commitTransaction() : void |
public | dropTransaction(bool $ignoreMissing=true) : void |
public | getCode() : \Swaggest\GoCodeBuilder\Templates\Code |
public | getComment() : mixed |
public static | getCurrentGoFile() : mixed |
public | getImportPath() : null |
public | getImports() : \Swaggest\GoCodeBuilder\Templates\Imports |
public | getPackage() : mixed |
public | setCode(\Swaggest\GoCodeBuilder\Templates\Code $code) : \Swaggest\GoCodeBuilder\Templates\GoFile |
public static | setCurrentGoFile(\Swaggest\GoCodeBuilder\Templates\GoFile $currentGoFile=null) : \Swaggest\GoCodeBuilder\Templates\GoFile/null previous go file |
public | setDependentCode(mixed $uniqueKey, mixed $value) : void |
public | setImportPath(null $importPath) : \Swaggest\GoCodeBuilder\Templates\GoFile |
public | setPackage(mixed $package) : \Swaggest\GoCodeBuilder\Templates\GoFile |
public | setSkipImportComment(boolean $skipImportComment) : \Swaggest\GoCodeBuilder\Templates\GoFile |
public | startTransaction() : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Type\Type $type) : void |
public | addValue(mixed $name, mixed $value, mixed $comment=null) : void |
public | getValues() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(string $name, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $type, bool $isVariadic=false) : void Argument constructor. |
public | getType() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Func\FuncDef $funcDef) : void FuncIface constructor. |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | toTypesString() : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\Func\Arguments
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | add(mixed $name, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $type, bool $isVariadic=false) : void |
public | count() : void |
public | toTypesString() : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(mixed $name, mixed $comment=null) : void |
public | addFunc(\Swaggest\GoCodeBuilder\Templates\Func\FuncDef $func, bool $prepend=false) : void |
public | addType(\Swaggest\GoCodeBuilder\Templates\Type\Type $func, bool $prepend=false) : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $struct) : void StructFunctions constructor. |
protected | toString() : void |
This class extends \Swaggest\CodeBuilder\AbstractTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $struct) : void StructType constructor. |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $structDef) : void StructType constructor. |
public | getName() : mixed |
public | getTypeString() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
This class implements \Swaggest\GoCodeBuilder\Templates\Type\NamedType, \Swaggest\GoCodeBuilder\Templates\Type\AnyType
Visibility | Function |
---|---|
public | __construct(string $name, string $comment='' ) : voidStructDef constructor. |
public | addFunc(\Swaggest\GoCodeBuilder\Templates\Func\FuncDef $func, bool $prepend=false) : void |
public | addProperty(\Swaggest\GoCodeBuilder\Templates\Struct\StructProperty $property, bool $prepend=false) : void |
public | getCode() : mixed |
public | getFuncs() : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef[] |
public | getImport() : \Swaggest\GoCodeBuilder\Templates\Struct\Import/null |
public | getName() : mixed |
public | getProperties() : \Swaggest\GoCodeBuilder\Templates\Struct\StructProperty[] |
public | getType() : \Swaggest\GoCodeBuilder\Templates\Struct\StructType |
public | renderFields() : void |
public | renderFuncs() : void |
public | setImport(\Swaggest\GoCodeBuilder\Import $import=null) : \Swaggest\GoCodeBuilder\Templates\Struct\StructDef |
public | setName(mixed $name) : \Swaggest\GoCodeBuilder\Templates\Struct\StructDef |
public | setType(\Swaggest\GoCodeBuilder\Templates\Type\Type $type) : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | setTag(mixed $key, mixed $value) : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(mixed $name, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $type, \Swaggest\GoCodeBuilder\Templates\Struct\Tags $tags=null) : void |
public | getName() : string/null |
public | getTags() : \Swaggest\GoCodeBuilder\Templates\Struct\Tags |
public | getType() : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $baseStruct, \Swaggest\GoCodeBuilder\Templates\Struct\StructDef $derivedStruct, array/string[] $propNamesMap=array(), \Swaggest\GoCodeBuilder\TypeCast\Registry $registry=null) : void StructCast constructor. |
public | getBaseStruct() : \Swaggest\GoCodeBuilder\Templates\Struct\StructDef |
public | getBaseTypeString() : string |
public | getDerivedStruct() : \Swaggest\GoCodeBuilder\Templates\Struct\StructDef |
public | getDerivedTypeString() : string |
public | getLoadFrom() : mixed |
public | getMapTo() : mixed |
public | setPropMap(mixed $baseName, mixed $derivedName) : void |
This class implements \Swaggest\GoCodeBuilder\TypeCast\CastFunctions
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $struct, mixed $name, string $comment='' ) : void |
public | getIface() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $toType, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $fromType, string $toVarName, string $fromVarName, \Swaggest\GoCodeBuilder\TypeCast\Registry $registry=null) : void TypeCast constructor. |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
Visibility | Function |
---|
This class extends \Exception
This class implements \Throwable
Visibility | Function |
---|---|
public | isNoOmitEmpty() : bool |
Visibility | Function |
---|---|
public | __construct(mixed $type, \Swaggest\GoCodeBuilder\Import $import=null) : void |
public | equals(\Swaggest\GoCodeBuilder\Templates\Type\Type $type) : void |
public | getImport() : \Swaggest\GoCodeBuilder\Templates\Type\Import/null |
public | getName() : mixed |
public | getTypeString() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
This class implements \Swaggest\GoCodeBuilder\Templates\Type\NamedType, \Swaggest\GoCodeBuilder\Templates\Type\AnyType
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Func\FuncDef $func) : void |
public | getTypeString() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
This class implements \Swaggest\GoCodeBuilder\Templates\Type\AnyType
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $keyType, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $valueType) : void Map constructor. |
public | getKeyType() : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
public | getTypeString() : mixed |
public | getValueType() : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
public | renderName() : void |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
This class implements \Swaggest\GoCodeBuilder\Templates\Type\AnyType
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : void Pointer constructor. |
public | getType() : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
public | getTypeString() : mixed |
public | isNoOmitEmpty() : bool |
public | setNoOmitEmpty(bool $noOmitEmpty) : void |
public static | tryDereferenceOnce(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
This class implements \Swaggest\GoCodeBuilder\Templates\Type\AnyType, \Swaggest\GoCodeBuilder\Templates\Type\NoOmitEmpty
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : void Slice constructor. |
public | getType() : \Swaggest\GoCodeBuilder\Templates\Type\AnyType |
public | getTypeString() : mixed |
protected | toString() : void |
This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate
This class implements \Swaggest\GoCodeBuilder\Templates\Type\AnyType
Visibility | Function |
---|---|
public | getTypeString() : mixed |
public | render() : void |
Visibility | Function |
---|---|
public | getName() : string |
This class implements \Swaggest\GoCodeBuilder\Templates\Type\AnyType
Visibility | Function |
---|---|
public static | equals(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $one, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $two) : void |
public static | fromString(string $typeString) : \Swaggest\GoCodeBuilder\Templates\Type\AnyType/\Swaggest\GoCodeBuilder\Templates\Type\Type |
public static | getBasicType(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : mixed |
public static | isCastable(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $to, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $from) : bool |
public static | isFloat(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : bool |
public static | isInt(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : bool |
public static | isNumber(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : bool |
public static | resolvePointer(\Swaggest\GoCodeBuilder\Templates\Type\AnyType $type) : void |
Visibility | Function |
---|---|
public | __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $baseStruct, string $propertyName, \Swaggest\GoCodeBuilder\Templates\Type\AnyType $derivedType, \Swaggest\GoCodeBuilder\TypeCast\Registry $typeRegistry) : void PropertyCast constructor. |
public | getBaseTypeString() : string |
public | getDerivedTypeString() : string |
public | getLoadFrom() : mixed |
public | getMapTo() : mixed |
This class implements \Swaggest\GoCodeBuilder\TypeCast\CastFunctions
Visibility | Function |
---|---|
public | canProcess(string $toTypeString, string $fromTypeString) : bool |
public | process(string $toTypeString, string $fromTypeString, string $toVarName, string $fromVarName, string $assignOp) : \Swaggest\GoCodeBuilder\TypeCast\Code/string |
This class implements \Swaggest\GoCodeBuilder\TypeCast\Registry
Visibility | Function |
---|---|
public | canProcess(string $toTypeString, string $fromTypeString) : bool |
public | process(string $toTypeString, string $fromTypeString, string $toVarName, string $fromVarName, string $assignOp) : \Swaggest\GoCodeBuilder\TypeCast\Code/string |
Visibility | Function |
---|---|
public | getBaseTypeString() : string |
public | getDerivedTypeString() : string |
public | getLoadFrom() : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef |
public | getMapTo() : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef |
Visibility | Function |
---|---|
public | addStructCast(\Swaggest\GoCodeBuilder\TypeCast\CastFunctions $cast) : void |
public | canProcess(string $toTypeString, string $fromTypeString) : bool |
public | process(string $toTypeString, string $fromTypeString, string $toVarName, string $fromVarName, string $assignOp) : string |
public | resetUsedCastFuncs() : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef[] |
This class implements \Swaggest\GoCodeBuilder\TypeCast\Registry
Visibility | Function |
---|---|
public | addRegistry(\Swaggest\GoCodeBuilder\TypeCast\Registry $registry) : void |
public | canProcess(string $toTypeString, string $fromTypeString) : bool |
public static | getStd() : \Swaggest\GoCodeBuilder\TypeCast\static |
public | process(string $toTypeString, string $fromTypeString, string $toVarName, string $fromVarName, string $assignOp) : \Swaggest\GoCodeBuilder\TypeCast\Code/string |
This class implements \Swaggest\GoCodeBuilder\TypeCast\Registry