|
@@ -19,6 +19,7 @@ use Predis\Connection\ConnectionInterface;
|
|
* Defines a few helper methods.
|
|
* Defines a few helper methods.
|
|
*
|
|
*
|
|
* @author Daniele Alessandri <suppakilla@gmail.com>
|
|
* @author Daniele Alessandri <suppakilla@gmail.com>
|
|
|
|
+ * @deprecated Deprecated since v0.8.3.
|
|
*/
|
|
*/
|
|
class Helpers
|
|
class Helpers
|
|
{
|
|
{
|
|
@@ -26,6 +27,7 @@ class Helpers
|
|
* Offers a generic and reusable method to handle exceptions generated by
|
|
* Offers a generic and reusable method to handle exceptions generated by
|
|
* a connection object.
|
|
* a connection object.
|
|
*
|
|
*
|
|
|
|
+ * @deprecated Deprecated since v0.8.3 - moved in Predis\CommunicationException::handle()
|
|
* @param CommunicationException $exception Exception.
|
|
* @param CommunicationException $exception Exception.
|
|
*/
|
|
*/
|
|
public static function onCommunicationException(CommunicationException $exception)
|
|
public static function onCommunicationException(CommunicationException $exception)
|
|
@@ -44,6 +46,7 @@ class Helpers
|
|
/**
|
|
/**
|
|
* Normalizes the arguments array passed to a Redis command.
|
|
* Normalizes the arguments array passed to a Redis command.
|
|
*
|
|
*
|
|
|
|
+ * @deprecated Deprecated since v0.8.3 - moved in Predis\Command\AbstractCommand::normalizeArguments()
|
|
* @param array $arguments Arguments for a command.
|
|
* @param array $arguments Arguments for a command.
|
|
* @return array
|
|
* @return array
|
|
*/
|
|
*/
|
|
@@ -59,6 +62,7 @@ class Helpers
|
|
/**
|
|
/**
|
|
* Normalizes the arguments array passed to a variadic Redis command.
|
|
* Normalizes the arguments array passed to a variadic Redis command.
|
|
*
|
|
*
|
|
|
|
+ * @deprecated Deprecated since v0.8.3 - moved in Predis\Command\AbstractCommand::normalizeVariadic()
|
|
* @param array $arguments Arguments for a command.
|
|
* @param array $arguments Arguments for a command.
|
|
* @return array
|
|
* @return array
|
|
*/
|
|
*/
|