PHP code example of qlimix / queue-consumer-process
1. Go to this page and download the library: Download qlimix/queue-consumer-process library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
qlimix / queue-consumer-process example snippets
use Qlimix\Queue\Consumer\QueueConsumerProcess;
$processor = new FooBarProcessor();
$process = new QueueConsumerProcess($processor);
$processor->run($control, $output);