FloeSerializer implements Serializer
FinalYes
Interfaces
- Serializer
Methods
- __construct() : mixed
- serialize() : void
- unserialize() : Rows
Methods
__construct()
public
__construct([int<1, max> $batchSize = 1000 ][, null|Hydrator $hydrator = null ]) : mixed
Parameters
- $batchSize : int<1, max> = 1000
- $hydrator : null|Hydrator = null
-
null uses the adaptive hydrator
serialize()
public
serialize(Rows $rows, DestinationStream $destination) : void
Parameters
- $rows : Rows
- $destination : DestinationStream
unserialize()
public
unserialize(SourceStream $source) : Rows
Parameters
- $source : SourceStream