%PDF- %PDF-
| Direktori : /vendor/laravel/framework/src/Illuminate/Queue/Connectors/ |
| Current File : //vendor/laravel/framework/src/Illuminate/Queue/Connectors/BackgroundConnector.php |
<?php
namespace Illuminate\Queue\Connectors;
use Illuminate\Queue\BackgroundQueue;
class BackgroundConnector implements ConnectorInterface
{
/**
* Establish a queue connection.
*
* @return \Illuminate\Contracts\Queue\Queue
*/
public function connect(array $config)
{
return new BackgroundQueue($config['after_commit'] ?? null);
}
}