for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Antidot\Queue;
interface Producer
{
/***
* @param Job $job
* @throws \Interop\Queue\Exception
* @throws \Interop\Queue\Exception\InvalidDestinationException
* @throws \Interop\Queue\Exception\InvalidMessageException
* @throws \JsonException
*/
public function enqueue(Job $job): void;
}