Test project for media files management.
<?php
namespace Illuminate\Queue\Connectors;
use Illuminate\Queue\SyncQueue;
class SyncConnector implements ConnectorInterface
{
/**
* Establish a queue connection.
*
* @param array $config
* @return \Illuminate\Contracts\Queue\Queue
*/
public function connect(array $config)
{
return new SyncQueue($config['after_commit'] ?? null);
}
}