PHP Class Kraken\Channel\Encoder\Encoder

Inheritance: implements Kraken\Channel\Encoder\EncoderInterface
Mostra file Open project: kraken-php/framework

Protected Properties

Property Type Description
$parser Kraken\Util\Parser\ParserInterface
$protocol Kraken\Channel\Protocol\ProtocolInterface

Public Methods

Method Description
__construct ( Kraken\Util\Parser\ParserInterface $parser )
__destruct ( )
decode ( $str )
encode ( )
with ( Kraken\Channel\Protocol\ProtocolInterface $protocol )

Method Details

__construct() public method

public __construct ( Kraken\Util\Parser\ParserInterface $parser )
$parser Kraken\Util\Parser\ParserInterface

__destruct() public method

public __destruct ( )

decode() public method

public decode ( $str )

encode() public method

public encode ( )

with() public method

public with ( Kraken\Channel\Protocol\ProtocolInterface $protocol )
$protocol Kraken\Channel\Protocol\ProtocolInterface

Property Details

$parser protected_oe property

protected ParserInterface,Kraken\Util\Parser $parser
return Kraken\Util\Parser\ParserInterface

$protocol protected_oe property

protected ProtocolInterface,Kraken\Channel\Protocol $protocol
return Kraken\Channel\Protocol\ProtocolInterface