PHP Class PHPSpec\Matcher\ApproximatelyMatcher

Inheritance: extends BasicMatcher
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode Description
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
supports ( string $name, mixed $subject, array $arguments ) : boolean

Méthodes protégées

Méthode Description
getFailureException ( $name, $subject, array $arguments )
getNegativeFailureException ( $name, $subject, array $arguments )
matches ( mixed $subject, array $arguments ) : boolean

Method Details

__construct() public méthode

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter

getFailureException() protected méthode

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

getNegativeFailureException() protected méthode

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

matches() protected méthode

protected matches ( mixed $subject, array $arguments ) : boolean
$subject mixed
$arguments array
Résultat boolean

supports() public méthode

public supports ( string $name, mixed $subject, array $arguments ) : boolean
$name string
$subject mixed
$arguments array
Résultat boolean