RetailCRM API Client

TypedArrayStrategy extends AbstractEncodeStrategy

Class TypedArrayStrategy

Tags
SuppressWarnings

(PHPMD.ElseExpression)

Table of Contents

Methods

__construct()  : mixed
TypedArrayStrategy constructor.
encode()  : array<string|int, mixed>|mixed
setInnerType()  : EncodeStrategyInterface
Sets inner type for types like array<key, value> and \DateTime<format>

Methods

__construct()

TypedArrayStrategy 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
Return values
EncodeStrategyInterface

        
On this page

Search results