42 lines
791 B
YAML
42 lines
791 B
YAML
name: SqsConnector
|
|
class_comment: null
|
|
dependencies:
|
|
- name: SqsClient
|
|
type: class
|
|
source: Aws\Sqs\SqsClient
|
|
- name: SqsQueue
|
|
type: class
|
|
source: Illuminate\Queue\SqsQueue
|
|
- name: Arr
|
|
type: class
|
|
source: Illuminate\Support\Arr
|
|
properties: []
|
|
methods:
|
|
- name: connect
|
|
visibility: public
|
|
parameters:
|
|
- name: config
|
|
comment: '# * Establish a queue connection.
|
|
|
|
# *
|
|
|
|
# * @param array $config
|
|
|
|
# * @return \Illuminate\Contracts\Queue\Queue'
|
|
- name: getDefaultConfiguration
|
|
visibility: protected
|
|
parameters:
|
|
- name: config
|
|
comment: '# * Get the default configuration for SQS.
|
|
|
|
# *
|
|
|
|
# * @param array $config
|
|
|
|
# * @return array'
|
|
traits:
|
|
- Aws\Sqs\SqsClient
|
|
- Illuminate\Queue\SqsQueue
|
|
- Illuminate\Support\Arr
|
|
interfaces:
|
|
- ConnectorInterface
|