for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Bruli\EventBusBundleTests\Behaviour;
use Bruli\EventBusBundle\CommandBus\CommandHandlerInterface;
use Bruli\EventBusBundle\CommandBus\CommandInterface;
final class WithPostMiddleWareHandler implements CommandHandlerInterface
{
const FILE_TEST = 'with-post-middleware.txt';
/**
* @param CommandInterface $command
*/
public function handle(CommandInterface $command)
file_put_contents(__DIR__. '/' . self::FILE_TEST , 'testing');
}