Interfaces, Classes and Traits
- Middleware
- Middleware are the plugins of Tactician. They receive each command that's
given to the CommandBus and can take any action they choose. Middleware can
continue the Command processing by passing the command they receive to the
$next callable, which is essentially the "next" Middleware in the chain.
Table of Contents
-
$authorizationChecker
: AuthorizationCheckerInterface
-
__construct()
: mixed
-
execute()
: mixed
$authorizationChecker
private
AuthorizationCheckerInterface
$authorizationChecker
__construct()
public
__construct(AuthorizationCheckerInterface $authorizationChecker) : mixed
Parameters
-
$authorizationChecker
: AuthorizationCheckerInterface
-
Return values
mixed
—
execute()
public
execute(object $command, callable $next) : mixed
Parameters
-
$command
: object
-
-
$next
: callable
-
Return values
mixed
—