Remove almost useless method.

This commit is contained in:
Daniele Alessandri
2012-04-28 09:23:41 +02:00
parent 2d0b30dac5
commit 214b7d2dc9
5 changed files with 20 additions and 43 deletions
+10 -8
View File
@@ -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}
*/