CommandBusInterface
interface CommandBusInterface
Command bus interface.
Methods
                    mixed
                
                
                    dispatch(CommandInterface|string $command, array $parameters = [], array $middleware = [])
        
                                            
                
            Dispatches the command to the command handler and returns the result.
Details
        at         line 34
                            mixed
    dispatch(CommandInterface|string $command, array $parameters = [], array $middleware = [])
        
    
    Dispatches the command to the command handler and returns the result.