api/laravel/Contracts/Redis/Connection.yaml

55 lines
962 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
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: []