mirror of
https://github.com/predis/predis.git
synced 2026-08-21 03:32:26 +00:00
15 lines
352 B
PHP
15 lines
352 B
PHP
<?php
|
|
|
|
namespace Predis\Network;
|
|
|
|
use Predis\Commands\ICommand;
|
|
|
|
interface IConnection {
|
|
public function connect();
|
|
public function disconnect();
|
|
public function isConnected();
|
|
public function writeCommand(ICommand $command);
|
|
public function readResponse(ICommand $command);
|
|
public function executeCommand(ICommand $command);
|
|
}
|