Sha256: ec87553df1ebd28ca98e3cc2a05cd60503739cd3eb61d67488462d13ccfa6f82
Contents?: true
Size: 498 Bytes
Versions: 7
Compression:
Stored size: 498 Bytes
Contents
<?php namespace Predis\Commands\Processors; use Predis\Commands\ICommand; class KeyPrefixProcessor implements ICommandProcessor { private $_prefix; public function __construct($prefix) { $this->setPrefix($prefix); } public function setPrefix($prefix) { $this->_prefix = $prefix; } public function getPrefix() { return $this->_prefix; } public function process(ICommand $command) { $command->prefixKeys($this->_prefix); } }
Version data entries
7 entries across 7 versions & 1 rubygems