123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace Predis\Command;
- use Predis\Helpers;
- class PubSubSubscribe extends AbstractCommand implements PrefixableCommandInterface
- {
-
- public function getId()
- {
- return 'SUBSCRIBE';
- }
-
- protected function filterArguments(Array $arguments)
- {
- return Helpers::filterArrayArguments($arguments);
- }
-
- public function prefixKeys($prefix)
- {
- PrefixHelpers::all($this, $prefix);
- }
- }
|