public function lPush($key, $value) {
        try {
            $this->_redis->lPush($key, $value);
        } catch (Predis\Response\ServerException $e) {
            throw new CM_Exception_Invalid('Cannot push key to list.', null, ['key' => $key]);
        }
    }
public function lPush($key, $value) {
        try {
            $this->_redis->lPush($key, $value);
        } catch (Predis\Response\ServerException $e) {
            throw new CM_Exception_Invalid('Cannot push key to list.', null, ['key' => $key]);
        }
    }
public function lPush ( $ key , $ value ) { try { $ this -> _redis -> lPush ( $ key , $ value ) ; } catch ( Predis \ Response \ ServerException $ e ) { throw new CM_Exception_Invalid ( 'Cannot push key to list.' , null , [ 'key' => $ key ] ) ; } }
Prepend a value to a list

@param string $key
@param string $value
@throws CM_Exception_Invalid
Prepend a value to a list