mirror of
https://github.com/predis/predis.git
synced 2026-08-21 00:12:18 +00:00
32 lines
708 B
PHP
32 lines
708 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Predis package.
|
|
*
|
|
* (c) Daniele Alessandri <suppakilla@gmail.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Predis;
|
|
|
|
use Predis\Command\CommandInterface;
|
|
|
|
/**
|
|
* Defines the interface of a basic client class or abstraction that can send
|
|
* commands to Redis.
|
|
*
|
|
* @author Daniele Alessandri <suppakilla@gmail.com>
|
|
*/
|
|
interface BasicClientInterface
|
|
{
|
|
/**
|
|
* Executes the specified Redis command.
|
|
*
|
|
* @param CommandInterface $command Command instance.
|
|
* @return mixed
|
|
*/
|
|
public function executeCommand(CommandInterface $command);
|
|
}
|