Daniele Alessandri
2a5483df90
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).
2013-11-22 12:01:29 +01:00
Daniele Alessandri
c6f51e82bf
Rename "Array" type-hint to to "array".
2013-11-16 17:01:58 +01:00
Daniele Alessandri
acd29ec076
Slightly change interface for connection factories.
2013-11-11 18:24:20 +01:00
Daniele Alessandri
3c6389f4dd
Rework how connection parameters are handled.
...
These changes do not affect the actual functionalities of the client,
but make the code more explicit and less error-prone.
2013-11-11 18:17:09 +01:00
Daniele Alessandri
8567b05459
Specify the server profile in constructor of the connection factory.
...
When no server profile is specified, the connection factory will not push
any initialization command to the newly created connection object.
This change is mainly useful when using redis-cluster and also makes it
possible to easily inject commands such as "SCRIPT LOAD" at initialization
time by grouping everything into one common place simply by extending the
connection factory class.
2012-08-19 13:57:58 +02:00
Daniele Alessandri
55a3fd65a2
More code styling changes.
2012-07-27 12:23:25 +02:00
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
559853bdd5
Move some classes and interfaces in other namespaces.
2012-07-26 22:37:31 +02:00