Commit Graph

15 Commits

Author SHA1 Message Date
Daniele Alessandri 6c732c737b Order "use" directives by namespace depth and name.
This is not really useful per se, but at least we use a fixed rule.
2012-07-26 23:04:20 +02:00
Daniele Alessandri 9426d78b90 Fix example for custom distribution strategy.
See ISSUE #63 for details.
2012-04-13 11:37:03 +02:00
Daniele Alessandri dc14c29676 Rename certain namespaces, interfaces and classes.
Now we follow a Symfony2-like naming convention for namespaces, interfaces
and classes sticking with one clear rule.

- Renamed namespaces:

  - Predis\Network
  - Predis\Profiles
  - Predis\Iterators
  - Predis\Options
  - Predis\Commands
  - Predis\Commands\Processors

- Renamed interfaces:

  - Predis\IReplyObject
  - Predis\IRedisServerError
  - Predis\IConnectionFactory
  - Predis\IConnectionParameters
  - Predis\Options\IOption
  - Predis\Options\IClientOptions
  - Predis\Profile\IServerProfile
  - Predis\Pipeline\IPipelineExecutor
  - Predis\Distribution\INodeKeyGenerator
  - Predis\Distribution\IDistributionStrategy
  - Predis\Protocol\IProtocolProcessor
  - Predis\Protocol\IResponseReader
  - Predis\Protocol\IResponseHandler
  - Predis\Protocol\ICommandSerializer
  - Predis\Protocol\IComposableProtocolProcessor
  - Predis\Network\IConnection
  - Predis\Network\IConnectionSingle
  - Predis\Network\IConnectionComposable
  - Predis\Network\IConnectionCluster
  - Predis\Network\IConnectionReplication
  - Predis\Commands\ICommand
  - Predis\Commands\IPrefixable
  - Predis\Command\Processor\ICommandProcessor
  - Predis\Command\Processor\ICommandProcessorChain
  - Predis\Command\Processor\IProcessingSupport

- Renamed Classes:

  - Predis\Commands\Command
  - Predis\Network\ConnectionBase

- Classes moved to different namespaces:

  - Predis\MonitorContext

Meh
2012-01-31 18:19:18 +01:00
Daniele Alessandri 0fee0c6d97 Remove the underscore prefix for names of private/protected fields. 2011-11-25 14:17:11 +01:00
Daniele Alessandri 2f23fb03f0 Apply minor changes to the rest of the examples. 2011-10-22 11:07:25 +02:00
Daniele Alessandri 9608a97469 Add a license header to PHP files. 2011-10-18 16:41:46 +02:00
Daniele Alessandri 20d872a306 Apply some coding style changes. 2011-10-18 15:51:55 +02:00
Daniele Alessandri cb363b52f6 Update examples. 2011-05-05 16:24:46 +02:00
Daniele Alessandri 150795f999 Remove the key_distribution option and allow user-defined callbacks to initialize a cluster connection. 2011-05-05 15:06:00 +02:00
Daniele Alessandri b5a1ba9795 Minor code and formatting changes for the example files. 2011-04-25 14:22:34 +02:00
Daniele Alessandri f6eab6ec3a Just a minor code styling change. 2011-04-11 23:43:49 +02:00
Daniele Alessandri 2b2ca8e8dc Remove trailing spaces in code. 2011-02-15 12:46:19 +01:00
Daniele Alessandri 44839a7a6f Minor fix in a comment. 2011-02-12 17:25:48 +01:00
Daniele Alessandri dad3704488 Examples: bulk update. 2010-05-22 14:48:37 +02:00
Daniele Alessandri d585b11bf5 Examples: add CustomDistributionStrategy.php 2010-05-22 14:34:28 +02:00