SyncConnector.php 358B

1234567891011121314151617181920
  1. <?php
  2. namespace Illuminate\Queue\Connectors;
  3. use Illuminate\Queue\SyncQueue;
  4. class SyncConnector implements ConnectorInterface
  5. {
  6. /**
  7. * Establish a queue connection.
  8. *
  9. * @param array $config
  10. * @return \Illuminate\Contracts\Queue\Queue
  11. */
  12. public function connect(array $config)
  13. {
  14. return new SyncQueue;
  15. }
  16. }