mirror of
https://github.com/predis/predis.git
synced 2026-08-21 13:10:55 +00:00
0235ba1a30
The command returns the response as is, but it would probably be not a bad idea to parse it to restructure returned info using named arrays, making it easier to access single commands and their info. We will keep it as is for now, and investigate this change later.
28 lines
522 B
PHP
28 lines
522 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\Command;
|
|
|
|
/**
|
|
* @link http://redis.io/commands/command
|
|
* @author Daniele Alessandri <suppakilla@gmail.com>
|
|
*/
|
|
class ServerCommand extends AbstractCommand
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getId()
|
|
{
|
|
return 'COMMAND';
|
|
}
|
|
}
|