PHP code example of qlimix / messagebus-scheduler-middleware
1. Go to this page and download the library: Download qlimix/messagebus-scheduler-middleware 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 / messagebus-scheduler-middleware example snippets
use Qlimix\MessageBus\MessageBus\Middleware\SchedulerMiddleware;
$scheduler = new FooBarScheduler();
$schedulerMiddleware = new SchedulerMiddleware($scheduler, new DateInterval('P1D'));