Documentation

ValidatorMiddleware
in package
implements Middleware

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

$validator  : ValidatorInterface
__construct()  : mixed
execute()  : mixed

Properties

Methods

__construct()

public __construct(ValidatorInterface $validator) : mixed
Parameters
$validator : ValidatorInterface
Return values
mixed

Search results