PHP Class PHPSpec\Matcher\ArrayKeyValueMatcher

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 ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
matches ( ArrayAcces\ArrayAccess | array $subject, array $arguments ) : boolean

Private Methods

Méthode Description
offsetExists ( $key, $subject )

Method Details

__construct() public méthode

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

getFailureException() protected méthode

protected getFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
Résultat PhpSpec\Exception\Example\FailureException

getNegativeFailureException() protected méthode

protected getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
Résultat PhpSpec\Exception\Example\FailureException

matches() protected méthode

protected matches ( ArrayAcces\ArrayAccess | array $subject, array $arguments ) : boolean
$subject ArrayAcces\ArrayAccess | array
$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