PHP Class PHPSpec2\Matcher\BasicMatcher

Inheritance: implements PHPSpec2\Matcher\MatcherInterface
Show file Open project: phpspec/phpspec2

Public Methods

Method Description
getPriority ( )
negativeMatch ( $name, $subject, array $arguments )
positiveMatch ( $name, $subject, array $arguments )

Protected Methods

Method Description
getFailureException ( $name, $subject, array $arguments )
getNegativeFailureException ( $name, $subject, array $arguments )
matches ( $subject, array $arguments )

Method Details

getFailureException() abstract protected method

abstract protected getFailureException ( $name, $subject, array $arguments )
$arguments array

getNegativeFailureException() abstract protected method

abstract protected getNegativeFailureException ( $name, $subject, array $arguments )
$arguments array

getPriority() public method

public getPriority ( )

matches() abstract protected method

abstract protected matches ( $subject, array $arguments )
$arguments array

negativeMatch() final public method

final public negativeMatch ( $name, $subject, array $arguments )
$arguments array

positiveMatch() final public method

final public positiveMatch ( $name, $subject, array $arguments )
$arguments array