| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 28 | public function connect(array $config)  | 
            ||
| 29 |     { | 
            ||
| 30 | return new BatchQueue(  | 
            ||
| 31 | $this->connections->connection(Arr::get($config, 'connection')),  | 
            ||
| 32 | $config['table'],  | 
            ||
| 33 | $config['queue'],  | 
            ||
| 34 | Arr::get($config, 'expire', 60),  | 
            ||
| 35 | $config['jobDefinition'],  | 
            ||
| 36 | new BatchClient([  | 
            ||
| 37 | 'region' => $config['region'],  | 
            ||
| 38 | 'version' => '2016-08-10',  | 
            ||
| 39 | ])  | 
            ||
| 43 |