PHP code example of mybuilder / supervisor-bundle

1. Go to this page and download the library: Download mybuilder/supervisor-bundle 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/ */

    

mybuilder / supervisor-bundle example snippets


return [
    MyBuilder\Bundle\SupervisorBundle\MyBuilderSupervisorBundle::class => ['all' => true],
];

use MyBuilder\Bundle\SupervisorBundle\Annotation\Supervisor;

/**
 * Command for sending our email messages from the database.
 *
 * @Supervisor(processes=3, params="--send", server="web")
 */
class SendQueuedEmailsCommand extends Command {}
 bash
$ php composer.phar