AbstractEncodeStrategy
in package
implements
EncodeStrategyInterface
AbstractYes
Class AbstractEncodeStrategy
Tags
Table of Contents
Interfaces
- EncodeStrategyInterface
Methods
- __construct() : mixed
- AbstractEncodeStrategy constructor.
- setInnerType() : EncodeStrategyInterface
- Sets inner type for types like array<key, value> and \DateTime<format>
Methods
__construct()
AbstractEncodeStrategy constructor.
public
__construct(Reader $annotationReader, SerializerInterface $liipSerializer) : mixed
Parameters
- $annotationReader : Reader
- $liipSerializer : SerializerInterface
setInnerType()
Sets inner type for types like array<key, value> and \DateTime<format>
public
setInnerType(string $type) : EncodeStrategyInterface
Parameters
- $type : string