mirror of
https://github.com/predis/predis.git
synced 2026-08-24 20:39:42 +00:00
822f02b8eb
By default Predis now uses a convention-over-configuration approach by looking for a command class in the Predis\Command\Redis namespace if it is not already defined in the commands class map. This change allow us to decrease the time needed to load Predis on each request since we removed 99% of the mappings in the commands class map. Classes defined in the internal class map still take the precedence over this mechanism, so users can still define their own command classes to handle each command.