ClientPrefix.php 216 B

1234567891011
  1. <?php
  2. namespace Predis\Options;
  3. use Predis\Commands\Processors\KeyPrefixProcessor;
  4. class ClientPrefix extends Option {
  5. public function validate($value) {
  6. return new KeyPrefixProcessor($value);
  7. }
  8. }