PHP Class PHPSpec2\Matcher\IdentityMatcher

Inheritance: extends BasicMatcher
显示文件 Open project: phpspec/phpspec2

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

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

getFailureException() protected method

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

getNegativeFailureException() protected method

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

matches() protected method

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

supports() public method

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