/home/techb158/ileadtechnology.com/vendor/predis/predis/src/Configuration
NameSizeModeActions
ClusterOption.php20250644editdlrm
ConnectionFactoryOption.php14770644editdlrm
ExceptionsOption.php8500644editdlrm
OptionInterface.php9870644editdlrm
Options.php31920644editdlrm
OptionsInterface.php20810644editdlrm
PrefixOption.php9880644editdlrm
ProfileOption.php20360644editdlrm
ReplicationOption.php22750644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/predis/predis/src/Configuration/PrefixOption.php (988B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis\Configuration; use Predis\Command\Processor\KeyPrefixProcessor; use Predis\Command\Processor\ProcessorInterface; /** * Configures a command processor that apply the specified prefix string to a * series of Redis commands considered prefixable. * * @author Daniele Alessandri */ class PrefixOption implements OptionInterface { /** * {@inheritdoc} */ public function filter(OptionsInterface $options, $value) { if ($value instanceof ProcessorInterface) { return $value; } return new KeyPrefixProcessor($value); } /** * {@inheritdoc} */ public function getDefault(OptionsInterface $options) { // NOOP } }