Method | Description | |
---|---|---|
decode ( $str ) : Kraken\Channel\Protocol\ProtocolInterface | Decode protocol from string. | |
encode ( ) : string | Encode protocol to string. | |
with ( Kraken\Channel\Protocol\ProtocolInterface $protocol ) : Kraken\Channel\Encoder\EncoderInterface | Set protocol to be encoded or data decoded into. |
public decode ( $str ) : Kraken\Channel\Protocol\ProtocolInterface | ||
$str | ||
return | Kraken\Channel\Protocol\ProtocolInterface |
public with ( Kraken\Channel\Protocol\ProtocolInterface $protocol ) : Kraken\Channel\Encoder\EncoderInterface | ||
$protocol | Kraken\Channel\Protocol\ProtocolInterface | |
return | Kraken\Channel\Encoder\EncoderInterface |