platform/api/laravel/Queue/Connectors/SqsConnector.yaml

43 lines
791 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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