Overview

Namespaces

  • None
  • Peridot
    • Leo
      • Formatter
      • Interfaces
        • Assert
      • Matcher
        • Template
      • ObjectPath
      • Responder
  • PHP

Classes

  • ExceptionResponder

Interfaces

  • ResponderInterface
  • Overview
  • Namespace
  • Class
  • Tree

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
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
Leo API documentation generated by ApiGen