mirror of
https://github.com/predis/predis.git
synced 2026-10-31 08:07:25 +00:00
Reorganize the Predis\Protocols namespace.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Predis\Protocols\Text;
|
||||
|
||||
use Predis\ResponseError;
|
||||
use Predis\Protocols\IResponseHandler;
|
||||
use Predis\Network\IConnectionComposable;
|
||||
|
||||
class ResponseErrorSilentHandler implements IResponseHandler {
|
||||
public function handle(IConnectionComposable $connection, $errorMessage) {
|
||||
return new ResponseError(substr($errorMessage, 4));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user