Interface LaravelUi5\Sdk\Intent\Contracts\IntentDispatcherInterface

Dispatches an already resolved and hydrated intent through the fixed intent execution pipeline.

Responsibility:

  • coordinate authorization
  • delegate to the appropriate intent handler
  • return the resulting IntentResult

Non-responsibilities:

  • resolving intent identities
  • hydrating intents from raw input (JSON, HTTP, etc.)
  • parameter parsing or validation

Mental model: Controller = "Turn input into a valid Intent" Dispatcher = "Given an Intent, decide what happens next"

  • LaravelUi5\Sdk\Intent\Contracts\IntentDispatcherInterface
    • LaravelUi5\Sdk\Intent\IntentDispatcher implements IntentDispatcherInterface
Methods