PHP code example of sylake / sylius-consumer-plugin
1. Go to this page and download the library: Download sylake/sylius-consumer-plugin 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/ */
sylake / sylius-consumer-plugin example snippets
public function registerBundles()
{
$bundles = [
new \SimpleBus\SymfonyBridge\SimpleBusCommandBusBundle(),
new \SimpleBus\SymfonyBridge\SimpleBusEventBusBundle(),
new \OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
new \SyliusLabs\RabbitMqSimpleBusBundle\RabbitMqSimpleBusBundle(),
new \Sylake\SyliusConsumerPlugin\SylakeSyliusConsumerPlugin(),
];
return array_merge(parent::registerBundles(), $bundles);
}