PHP code example of fusonic / framework-bundle
1. Go to this page and download the library: Download fusonic/framework-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/ */
fusonic / framework-bundle example snippets
return [
// ...
Fusonic\FrameworkBundle\FusonicFrameworkBundle::class => ['all' => true],
];
use Symfony\Config\FusonicFrameworkConfig;
return static function (FusonicFrameworkConfig $frameworkConfig): void {
$frameworkConfig
->messenger()
->bus()
->commandBus('command.bus.with.other.name');
->eventBus('event.bus.with.other.name')
->queryBus('query.bus.with.other.name');
};