PHP Interface MGDigital\BusQue\CommandSerializerInterface

Exibir arquivo Open project: mgdigital/busque

Public Methods

Method Description
serialize ( $command ) : string
unserialize ( string $serialized ) : mixed

Method Details

serialize() public method

public serialize ( $command ) : string
return string

unserialize() public method

public unserialize ( string $serialized ) : mixed
$serialized string
return mixed A command object which can be handled by the commandbus.