EmittingMiddleware
in package
implements
Middleware
FinalYes
Table of Contents
Interfaces
- Middleware
- Middleware can be uses to perform extra steps during the parsing process.
Properties
Methods
- __construct() : mixed
- execute() : object
- Executes this middle ware class.
Properties
$eventDispatcher read-only
private
EventDispatcher
$eventDispatcher
Methods
__construct()
public
__construct(EventDispatcher $eventDispatcher) : mixed
Parameters
- $eventDispatcher : EventDispatcher
execute()
Executes this middle ware class.
public
execute(Command $command, callable $next) : object
Parameters
- $command : Command
- $next : callable