PHP code example of williamrijksen / symfony-messenger-azure

1. Go to this page and download the library: Download williamrijksen/symfony-messenger-azure 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/ */

    

williamrijksen / symfony-messenger-azure example snippets




namespace App\MessageHandler;

use App\Message\Foo;

final class FooHandler
{
    public function __invoke(Foo $message)
    {
    }
}


$bus->dispatch(new Foo());