SerializerGenerator
in package
FinalYes
Table of Contents
Methods
- __construct() : mixed
- buildSerializerFunctionName() : string
- generate() : void
Methods
__construct()
public
__construct(Serialization $templating, CustomSerialization $customTemplating, GeneratorConfiguration $configuration, string $cacheDirectory) : mixed
Parameters
- $templating : Serialization
- $customTemplating : CustomSerialization
- $configuration : GeneratorConfiguration
- $cacheDirectory : string
buildSerializerFunctionName()
public
static buildSerializerFunctionName(string $className, string|null $apiVersion, array<int, string> $serializerGroups) : string
Parameters
- $className : string
- $apiVersion : string|null
- $serializerGroups : array<int, string>
Return values
stringgenerate()
public
generate(Builder $metadataBuilder) : void
Parameters
- $metadataBuilder : Builder