예제 #1
0
파일: Predis.php 프로젝트: SallyU/yiicms
 public function getSupportedCommands()
 {
     return array_merge(parent::getSupportedCommands(), array('watch' => 'Predis_Commands_Watch', 'unwatch' => 'Predis_Commands_Unwatch'));
 }
예제 #2
0
파일: Predis.php 프로젝트: aadl/locum
 public function getSupportedCommands()
 {
     return array_merge(parent::getSupportedCommands(), array('watch' => 'Predis_Commands_Watch', 'unwatch' => 'Predis_Commands_Unwatch', 'strlen' => 'Predis_Commands_Strlen', 'setrange' => 'Predis_Commands_SetRange', 'getrange' => 'Predis_Commands_Substr', 'setbit' => 'Predis_Commands_SetBit', 'getbit' => 'Predis_Commands_GetBit', 'persist' => 'Predis_Commands_Persist', 'rpushx' => 'Predis_Commands_ListPushTailX', 'lpushx' => 'Predis_Commands_ListPushHeadX', 'linsert' => 'Predis_Commands_ListInsert', 'brpoplpush' => 'Predis_Commands_ListPopLastPushHeadBlocking', 'zrevrangebyscore' => 'Predis_Commands_ZSetReverseRangeByScore'));
 }