Heratio Framework API Reference

ActionBridge
in package

Bridge that dispatches to existing plugin action classes from Laravel routes.

Locates the action class file via plugin module directories, creates the action instance, and calls execute{ActionName}() with a wrapped request. Returns the rendered output as a Laravel Response.

Supports three dispatch modes:

  1. AhgController — new standalone controllers (WP2)
  2. AhgActions — modern framework actions (Blade rendering)
  3. sfActions — base AtoM action classes (full compatibility bridge)

Table of Contents

Methods

dispatch()  : mixed
Dispatch to a plugin action class.

Methods

dispatch()

Dispatch to a plugin action class.

public dispatch(Request $request) : mixed

Route parameters _module and _action are set by RouteCollector/RouteLoader.

Parameters
$request : Request

        
On this page

Search results