PHP Class PHPSpec2\Matcher\ObjectStateMatcher

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

Public Methods

Method Description
__construct ( PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )
getPriority ( )
negativeMatch ( $name, $subject, array $arguments )
positiveMatch ( $name, $subject, array $arguments )
supports ( $name, $subject, array $arguments )

Private Methods

Method Description
getFailureExceptionFor ( $callable, $expectedBool, $result )

Method Details

__construct() public method

public __construct ( PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )
$presenter PHPSpec2\Formatter\Presenter\PresenterInterface

getPriority() public method

public getPriority ( )

negativeMatch() public method

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

positiveMatch() public method

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

supports() public method

public supports ( $name, $subject, array $arguments )
$arguments array