Kraken\Channel\Encoder\Encoder::with PHP Метод

with() публичный Метод

public with ( Kraken\Channel\Protocol\ProtocolInterface $protocol )
$protocol Kraken\Channel\Protocol\ProtocolInterface
    public function with(ProtocolInterface $protocol)
    {
        $this->protocol = $protocol;
        return $this;
    }