|
Bristol SU Support Package
|
Public Member Functions | |
| __construct (Container $app) | |
| handle (Request $request, \Closure $next) | |
Private Attributes | |
| $app | |
Inject the activity instance into the container.
Definition at line 15 of file InjectActivity.php.
| BristolSU\Support\Activity\Middleware\InjectActivity::__construct | ( | Container | $app | ) |
Initialise the middleware
| Container | $app | The container to bind the activity to. |
Definition at line 30 of file InjectActivity.php.
References BristolSU\Support\Activity\Middleware\InjectActivity\$app.
| BristolSU\Support\Activity\Middleware\InjectActivity::handle | ( | Request | $request, |
| \Closure | $next | ||
| ) |
Bind the activity to the container
| Request | $request | |
| \Closure | $next |
Definition at line 42 of file InjectActivity.php.
|
private |
Definition at line 23 of file InjectActivity.php.
Referenced by BristolSU\Support\Activity\Middleware\InjectActivity\__construct().
1.8.13