Class AbstractMatcher
AbstractMatcher serves as the base for all Matchers.
- Peridot\Leo\Matcher\AbstractMatcher implements Peridot\Leo\Matcher\MatcherInterface
Direct known subclasses
Peridot\Leo\Matcher\CountableMatcher, Peridot\Leo\Matcher\EmptyMatcher, Peridot\Leo\Matcher\PredicateMatcher, Peridot\Leo\Matcher\PropertyMatcher, Peridot\Leo\Matcher\SameMatcher, Peridot\Leo\Matcher\SubStringMatcher, Peridot\Leo\Matcher\TrueMatcher, Peridot\Leo\Matcher\TruthyMatcher, Peridot\Leo\Matcher\TypeMatcher, Peridot\Leo\Matcher\EqualMatcher, Peridot\Leo\Matcher\ExceptionMatcher, Peridot\Leo\Matcher\InclusionMatcher, Peridot\Leo\Matcher\InstanceofMatcher, Peridot\Leo\Matcher\KeysMatcher, Peridot\Leo\Matcher\LengthMatcher, Peridot\Leo\Matcher\NullMatcher, Peridot\Leo\Matcher\PatternMatcherIndirect known subclasses
Peridot\Leo\Matcher\GreaterThanMatcher, Peridot\Leo\Matcher\GreaterThanOrEqualMatcher, Peridot\Leo\Matcher\LessThanMatcher, Peridot\Leo\Matcher\LessThanOrEqualMatcher, Peridot\Leo\Matcher\RangeMatcher
Abstract
Namespace: Peridot\Leo\Matcher
Package: Peridot\Leo\Matcher
Located at Matcher/AbstractMatcher.php
Namespace: Peridot\Leo\Matcher
Package: Peridot\Leo\Matcher
Located at Matcher/AbstractMatcher.php
public
|
|
public
boolean
|
|
public
mixed
|
|
public
|
|
public
|
|
public
mixed
|
#
setTemplate(
Set the TemplateInterface to use for formatting match results. |
public
mixed
|
#
setAssertion(
Set the Assertion bound to the matcher. Useful for checking flags from within a matcher. |
abstract protected
boolean
|
getDefaultTemplate()
|
protected
mixed
|
$expected
|
|
protected
boolean
|
$negated
|
#
false
|
protected
|
$template
|
|
protected
|
$assertion
|