| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | protected function resolveQueueableProperties($action) |
||
| 47 | { |
||
| 48 | $queueableProperties = [ |
||
| 49 | 'connection', |
||
| 50 | 'queue', |
||
| 51 | 'chainConnection', |
||
| 52 | 'chainQueue', |
||
| 53 | 'delay', |
||
| 54 | 'chained', |
||
| 55 | 'tries', |
||
| 56 | 'timeout', |
||
| 57 | ]; |
||
| 58 | |||
| 59 | foreach ($queueableProperties as $queueableProperty) { |
||
| 60 | if(property_exists($action, $queueableProperty) { |
||
| 61 | $this->{$queueableProperty} = $action->{$queueableProperty}; |
||
| 66 |