12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace Predis\Protocol\Text;
- use Predis\ResponseError;
- use Predis\Protocol\IResponseHandler;
- use Predis\Network\IConnectionComposable;
- class ResponseErrorSilentHandler implements IResponseHandler
- {
-
- public function handle(IConnectionComposable $connection, $errorMessage)
- {
- return new ResponseError($errorMessage);
- }
- }
|