Skip to content

Latest commit

 

History

History
744 lines (528 loc) · 49.2 KB

API.md

File metadata and controls

744 lines (528 loc) · 49.2 KB

Table of contents


Class: \Swaggest\GoCodeBuilder\Import

Visibility Function
public __construct(mixed $name, mixed $alias=null, mixed $defaultPackageName=null) : void
public getPackage() : string
public getReferencePrefix() : mixed

Class: \Swaggest\GoCodeBuilder\GoCodeBuilder

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


Class: \Swaggest\GoCodeBuilder\Exception

Visibility Function

This class extends \Exception

This class implements \Throwable


Class: \Swaggest\GoCodeBuilder\JsonSchema\MarshalUnion

Visibility Function
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate


Class: \Swaggest\GoCodeBuilder\JsonSchema\MarshalEnum

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


Class: \Swaggest\GoCodeBuilder\JsonSchema\MarshalJson

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


Class: \Swaggest\GoCodeBuilder\JsonSchema\GeneratedStruct

Visibility Function

Class: \Swaggest\GoCodeBuilder\JsonSchema\StructHookCallback

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


Class: \Swaggest\GoCodeBuilder\JsonSchema\StripPrefixPathToNameHook

Visibility Function
public pathToName(mixed $path) : void

This class implements \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderPathToNameHook


Class: \Swaggest\GoCodeBuilder\JsonSchema\TypeBuilder

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

Class: \Swaggest\GoCodeBuilder\JsonSchema\Options

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


Class: \Swaggest\GoCodeBuilder\JsonSchema\UnmarshalUnion

Visibility Function
public patternVarName(mixed $pattern) : void
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate


Interface: \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderPathToNameHook

Visibility Function
public pathToName(mixed $path) : void

Class: \Swaggest\GoCodeBuilder\JsonSchema\GoBuilder

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

Interface: \Swaggest\GoCodeBuilder\JsonSchema\GoBuilderStructHook

Visibility Function
public process(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $structDef, string $path, \Swaggest\GoCodeBuilder\JsonSchema\Schema $schema) : null

Class: \Swaggest\GoCodeBuilder\JsonSchema\Exception

Visibility Function

This class extends \Exception

This class implements \Throwable


Class: \Swaggest\GoCodeBuilder\Style\Initialisms

Visibility Function
public __construct() : void
public process(mixed $goName) : void

Class: \Swaggest\GoCodeBuilder\Templates\Code

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


Class: \Swaggest\GoCodeBuilder\Templates\Imports

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


Class: \Swaggest\GoCodeBuilder\Templates\GoTemplate (abstract)

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


Class: \Swaggest\GoCodeBuilder\Templates\GoFile

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


Class: \Swaggest\GoCodeBuilder\Templates\Constant\TypeConstBlock

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


Class: \Swaggest\GoCodeBuilder\Templates\Func\Argument

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


Class: \Swaggest\GoCodeBuilder\Templates\Func\FuncIface

Visibility Function
public __construct(\Swaggest\GoCodeBuilder\Templates\Func\FuncDef $funcDef) : void
FuncIface constructor.
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate


Class: \Swaggest\GoCodeBuilder\Templates\Func\Result

Visibility Function
public toTypesString() : void
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\Func\Arguments


Class: \Swaggest\GoCodeBuilder\Templates\Func\FuncDef

Visibility Function
public __construct(string $name, string $comment='') : void
FuncDef constructor.
public getArguments() : \Swaggest\GoCodeBuilder\Templates\Func\Arguments
public getName() : string
public getRenderMode() : string
public getResult() : \Swaggest\GoCodeBuilder\Templates\Func\Result/null
public getSelf() : \Swaggest\GoCodeBuilder\Templates\Func\Argument/null
public setArguments(\Swaggest\GoCodeBuilder\Templates\Func\Arguments $arguments) : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
public setBody(\Swaggest\GoCodeBuilder\Templates\Code $body) : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
public setName(string $name) : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
public setRenderMode(string $renderMode) : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
public setResult(\Swaggest\GoCodeBuilder\Templates\Func\Result $result=null) : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
public setSelf(\Swaggest\GoCodeBuilder\Templates\Func\Argument $self) : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate


Class: \Swaggest\GoCodeBuilder\Templates\Func\Arguments

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


Class: \Swaggest\GoCodeBuilder\Templates\Iface\IfaceDef

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


Class: \Swaggest\GoCodeBuilder\Templates\Mapping\Mapping

Visibility Function

Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructFunctions

Visibility Function
public __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $struct) : void
StructFunctions constructor.
protected toString() : void

This class extends \Swaggest\CodeBuilder\AbstractTemplate


Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructFields

Visibility Function
public __construct(\Swaggest\GoCodeBuilder\Templates\Struct\StructDef $struct) : void
StructType constructor.
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate


Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructType

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


Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructDef

Visibility Function
public __construct(string $name, string $comment='') : void
StructDef 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


Class: \Swaggest\GoCodeBuilder\Templates\Struct\Tags

Visibility Function
public setTag(mixed $key, mixed $value) : void
protected toString() : void

This class extends \Swaggest\GoCodeBuilder\Templates\GoTemplate


Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructProperty

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


Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructCast

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


Class: \Swaggest\GoCodeBuilder\Templates\Struct\StructIface

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


Class: \Swaggest\GoCodeBuilder\Templates\Type\TypeCast

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


Class: \Swaggest\GoCodeBuilder\Templates\Type\TypeCastException

Visibility Function

This class extends \Exception

This class implements \Throwable


Interface: \Swaggest\GoCodeBuilder\Templates\Type\NoOmitEmpty

Visibility Function
public isNoOmitEmpty() : bool

Class: \Swaggest\GoCodeBuilder\Templates\Type\Type

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


Class: \Swaggest\GoCodeBuilder\Templates\Type\FuncType

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


Class: \Swaggest\GoCodeBuilder\Templates\Type\Map

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


Class: \Swaggest\GoCodeBuilder\Templates\Type\Pointer

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


Class: \Swaggest\GoCodeBuilder\Templates\Type\Slice

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


Interface: \Swaggest\GoCodeBuilder\Templates\Type\AnyType

Visibility Function
public getTypeString() : mixed
public render() : void

Interface: \Swaggest\GoCodeBuilder\Templates\Type\NamedType

Visibility Function
public getName() : string

This class implements \Swaggest\GoCodeBuilder\Templates\Type\AnyType


Class: \Swaggest\GoCodeBuilder\Templates\Type\TypeUtil

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

Class: \Swaggest\GoCodeBuilder\TypeCast\PropertyCast

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


Class: \Swaggest\GoCodeBuilder\TypeCast\Time

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


Interface: \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

Interface: \Swaggest\GoCodeBuilder\TypeCast\CastFunctions

Visibility Function
public getBaseTypeString() : string
public getDerivedTypeString() : string
public getLoadFrom() : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef
public getMapTo() : \Swaggest\GoCodeBuilder\Templates\Func\FuncDef

Class: \Swaggest\GoCodeBuilder\TypeCast\CastRegistry

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


Class: \Swaggest\GoCodeBuilder\TypeCast\RegistryMux

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