Interface ResponderInterface
The ResponderInterface is responsible for responding to match results.
Direct known implementers
Peridot\Leo\Responder\ExceptionResponder
Namespace: Peridot\Leo\Responder
Package: Peridot\Leo\Responder
Located at Responder/ResponderInterface.php
Methods summary
Package: Peridot\Leo\Responder
Located at Responder/ResponderInterface.php
public
mixed
#
respond( Peridot\Leo\Matcher\Match
$match, Peridot\Leo\Matcher\Template\TemplateInterface
$template, string $message )
Respond to a Match given a TemplateInterface to format the message.
Respond to a Match given a TemplateInterface to format the message.
Parameters
- $match
- $template
- $message
- a user provided messaged
Returns
mixed