Project

General

Profile

1
# Namespaces, interfaces and classes renamed in Predis v0.8 #
2
____________________________________________
3

    
4
Some namespaces, interfaces and classes in Predis v0.8 have been renamed to follow a common rule inspired
5
by the naming conventions adopted by the Symfony2 project. This is a list of all the changes:
6

    
7
### Renamed namespaces ###
8

    
9
  - `Predis\Network` => `Predis\Connection`
10
  - `Predis\Profiles` => `Predis\Profile`
11
  - `Predis\Iterators` => `Predis\Iterator`
12
  - `Predis\Options` => `Predis\Option`
13
  - `Predis\Commands` => `Predis\Command`
14
  - `Predis\Commands\Processors` => `Predis\Command\Processor`
15

    
16
### Renamed interfaces ###
17

    
18
  - `Predis\IReplyObject` => `Predis\ResponseObjectInterface`
19
  - `Predis\IRedisServerError` => `Predis\ResponseErrorInterface`
20
  - `Predis\Options\IOption` => `Predis\Option\OptionInterface`
21
  - `Predis\Options\IClientOptions` => `Predis\Option\ClientOptionsInterface`
22
  - `Predis\Profile\IServerProfile` => `Predis\Profile\ServerProfileInterface`
23
  - `Predis\Pipeline\IPipelineExecutor` => `Predis\Pipeline\PipelineExecutorInterface`
24
  - `Predis\Distribution\INodeKeyGenerator` => `Predis\Distribution\HashGeneratorInterface`
25
  - `Predis\Distribution\IDistributionStrategy` => `Predis\Distribution\DistributionStrategyInterface`
26
  - `Predis\Protocol\IProtocolProcessor` => `Predis\Protocol\ProtocolInterface`
27
  - `Predis\Protocol\IResponseReader` => `Predis\Protocol\ResponseReaderInterface`
28
  - `Predis\Protocol\IResponseHandler` => `Predis\Protocol\ResponseHandlerInterface`
29
  - `Predis\Protocol\ICommandSerializer` => `Predis\Protocol\CommandSerializerInterface`
30
  - `Predis\Protocol\IComposableProtocolProcessor` => `Predis\Protocol\ComposableProtocolInterface`
31
  - `Predis\Network\IConnection` => `Predis\Connection\ConnectionInterface`
32
  - `Predis\Network\IConnectionSingle` => `Predis\Connection\SingleConnectionInterface`
33
  - `Predis\Network\IConnectionComposable` => `Predis\Connection\ComposableConnectionInterface`
34
  - `Predis\Network\IConnectionCluster` => `Predis\Connection\ClusterConnectionInterface`
35
  - `Predis\Network\IConnectionReplication` => `Predis\Connection\ReplicationConnectionInterface`
36
  - `Predis\Commands\ICommand` => `Predis\Command\CommandInterface`
37
  - `Predis\Commands\IPrefixable` => `Predis\Command\PrefixableCommandInterface`
38
  - `Predis\Command\Processor\ICommandProcessor` => `Predis\Command\Processor\CommandProcessorInterface`
39
  - `Predis\Command\Processor\ICommandProcessorChain` => `Predis\Command\Processor\CommandProcessorChainInterface`
40
  - `Predis\Command\Processor\IProcessingSupport` => `Predis\Command\Processor\CommandProcessingInterface`
41

    
42
### Renamed classes ###
43

    
44
  - `Predis\Commands\Command` => `Predis\Command\AbstractCommand`
45
  - `Predis\Network\ConnectionBase` => `Predis\Connection\AbstractConnection`
46

    
47
### Classes or interfaces moved to different namespaces ###
48

    
49
  - `Predis\MonitorContext` => `Predis\Monitor\MonitorContext`
50
  - `Predis\ConnectionParameters` => `Predis\Connection\ConnectionParameters`
51
  - `Predis\ConnectionParametersInterface` => `Predis\Connection\ConnectionParametersInterface`
52
  - `Predis\ConnectionFactory` => `Predis\Connection\ConnectionFactory`
53
  - `Predis\ConnectionFactoryInterface` => `Predis\Connection\ConnectionFactoryInterface`
(3-3/14)