sfcod/jobqueue

View on GitHub
Connector/ConnectorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SfCod\QueueBundle\Connector;

use SfCod\QueueBundle\Queue\QueueInterface;

/**
 * Interface ConnectorInterface
 *
 * @package SfCod\QueueBundle\Connector
 */
interface ConnectorInterface
{
    /**
     * Establish a queue connection.
     *
     * @param  array $config
     *
     * @return QueueInterface
     */
    public function connect(array $config): QueueInterface;
}