ICanBoogie
  • Documentation
  • API Reference
  • MessageBus master
Namespaces
  • ICanBoogie
    • MessageBus
Classes
  • SimpleMessageBus
  • SimpleMessageHandlerProvider
Interfaces
  • Exception
  • MessageBus
  • MessageHandler
  • MessageHandlerProvider
  • MessagePusher
  • ShouldBePushed
Exceptions
  • NoHandlerForMessage
  • NoPusherForMessage

Namespace ICanBoogie\MessageBus

Classes summary

SimpleMessageBus A message bus that can handle messages right away or push them to a queue.
SimpleMessageHandlerProvider A simple implementation of ICanBoogie\MessageBus\MessageHandlerProvider.

Interfaces summary

Exception CommandBus exceptions implement this interface so that they can be easily recognized.
MessageBus The interface for the message bus.
MessageHandler Signature example for the message handler callable.
MessageHandlerProvider Signature example for the message handler provider callable.
MessagePusher Signature example for the message message_pusher callable.
ShouldBePushed An interface for messages that should be pushed to a queue rather than handled right away.

Exceptions summary

NoHandlerForMessage Exception thrown when there is no handler defined to handle a message type.
NoPusherForMessage Exception thrown when there is no message pusher defined to push a message.
MessageBus master – Check on GitHub – API documentation generated by ApiGen