DeserializerGenerator
in package
FinalYes
Table of Contents
Methods
- __construct() : mixed
- buildDeserializerFunctionName() : string
- generate() : void
Methods
__construct()
public
__construct(Deserialization $templating, CustomDeserialization $customTemplating, array<int, class-string> $classesToGenerate, string $cacheDirectory[, GeneratorConfiguration $configuration = null ]) : mixed
Parameters
- $templating : Deserialization
- $customTemplating : CustomDeserialization
- $classesToGenerate : array<int, class-string>
-
This is a list of FQCN classnames
- $cacheDirectory : string
- $configuration : GeneratorConfiguration = null
buildDeserializerFunctionName()
public
static buildDeserializerFunctionName(string $className) : string
Parameters
- $className : string
Return values
stringgenerate()
public
generate(Builder $metadataBuilder) : void
Parameters
- $metadataBuilder : Builder