Reorganize the Predis\Profile namespace.

The profile factory code has been extrapolated into a the new class
Predis\Profile\Factory (final and with only static methods).
This commit is contained in:
Daniele Alessandri
2013-11-22 12:01:29 +01:00
parent 0a60a156f0
commit 2a5483df90
57 changed files with 653 additions and 647 deletions
+4 -3
View File
@@ -11,9 +11,10 @@
namespace Predis;
use Predis\Command\CommandInterface;
use Predis\Configuration\OptionsInterface;
use Predis\Connection\ConnectionInterface;
use Predis\Profile\ServerProfileInterface;
use Predis\Profile\ProfileInterface;
/**
* Interface defining the most important parts needed to create an
@@ -27,7 +28,7 @@ interface ClientInterface extends BasicClientInterface
/**
* Returns the server profile used by the client.
*
* @return ServerProfileInterface
* @return ProfileInterface
*/
public function getProfile();
@@ -60,7 +61,7 @@ interface ClientInterface extends BasicClientInterface
*
* @param string $method The name of a Redis command.
* @param array $arguments The arguments for the command.
* @return Command\CommandInterface
* @return CommandInterface
*/
public function createCommand($method, $arguments = array());
}