spekkionu/ironmq-queue-driver

iron.io driver for pmg/queue

2.0.0 2016-09-20 04:08 UTC

This package is auto-updated.

Last update: 2022-06-12 08:02:15 UTC


README

==============================

Latest Stable Version Total Downloads Build Status SensioLabsInsight Scrutinizer Code Quality Code Coverage

<?php
use IronMQ\IronMQ;
use PMG\Queue\Serializer\NativeSerializer;
use Spekkionu\PMG\Queue\Iron\Driver\IronDriver;

$ironmq = new IronMQ(array(
    "token" => 'API_TOKEN',
    "project_id" => 'PROJECT_ID'
));
$serializer = new NativeSerializer();
$driver = new IronDriver($ironmq, $serializer, [
    'timeout' => 2,
    'delay' => 0
]);