api/laravel/Contracts/Redis/Connection.yaml
2024-09-26 02:03:21 -07:00

54 lines
962 B
YAML

name: Connection
class_comment: null
dependencies:
- name: Closure
type: class
source: Closure
properties: []
methods:
- name: subscribe
visibility: public
parameters:
- name: channels
- name: callback
comment: '# * Subscribe to a set of given channels for messages.
# *
# * @param array|string $channels
# * @param \Closure $callback
# * @return void'
- name: psubscribe
visibility: public
parameters:
- name: channels
- name: callback
comment: '# * Subscribe to a set of given channels with wildcards.
# *
# * @param array|string $channels
# * @param \Closure $callback
# * @return void'
- name: command
visibility: public
parameters:
- name: method
- name: parameters
default: '[]'
comment: '# * Run a command against the Redis database.
# *
# * @param string $method
# * @param array $parameters
# * @return mixed'
traits:
- Closure
interfaces: []