mirror of
https://github.com/predis/predis.git
synced 2026-10-23 12:15:35 +00:00
Remove almost useless method.
This commit is contained in:
@@ -37,6 +37,16 @@ class StreamConnection extends AbstractConnection
|
||||
{
|
||||
private $mbiterable;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct(ConnectionParametersInterface $parameters)
|
||||
{
|
||||
$this->mbiterable = (bool) $parameters->iterable_multibulk;
|
||||
|
||||
parent::__construct($parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnects from the server and destroys the underlying resource when
|
||||
* PHP's garbage collector kicks in only if the connection has not been
|
||||
@@ -49,14 +59,6 @@ class StreamConnection extends AbstractConnection
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function initializeProtocol(ConnectionParametersInterface $parameters)
|
||||
{
|
||||
$this->mbiterable = (bool) $parameters->iterable_multibulk;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user