mirror of
https://github.com/predis/predis.git
synced 2026-10-10 13:57:22 +00:00
Remove almost useless method.
This commit is contained in:
@@ -32,17 +32,11 @@ class ComposableStreamConnection extends StreamConnection implements ComposableC
|
||||
*/
|
||||
public function __construct(ConnectionParametersInterface $parameters, ProtocolInterface $protocol = null)
|
||||
{
|
||||
$this->setProtocol($protocol ?: new TextProtocol());
|
||||
$protocol = $protocol ?: new TextProtocol();
|
||||
$protocol->setOption('iterable_multibulk', $parameters->iterable_multibulk);
|
||||
|
||||
parent::__construct($parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function initializeProtocol(ConnectionParametersInterface $parameters)
|
||||
{
|
||||
$this->protocol->setOption('iterable_multibulk', $parameters->iterable_multibulk);
|
||||
$this->protocol = $protocol;
|
||||
$this->parameters = $this->checkParameters($parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user