PHP Класс PHPSpec\Matcher\BasicMatcher

Наследование: implements PHPSpec\Matcher\Matcher
Показать файл Открыть проект

Открытые методы

Метод Описание
getPriority ( ) : integer
negativeMatch ( string $name, mixed $subject, array $arguments ) : mixed
positiveMatch ( string $name, mixed $subject, array $arguments ) : mixed

Защищенные методы

Метод Описание
getFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
matches ( mixed $subject, array $arguments ) : boolean

Описание методов

getFailureException() абстрактный защищенный Метод

abstract protected getFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
Результат PhpSpec\Exception\Example\FailureException

getNegativeFailureException() абстрактный защищенный Метод

abstract protected getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
Результат PhpSpec\Exception\Example\FailureException

getPriority() публичный Метод

public getPriority ( ) : integer
Результат integer

matches() абстрактный защищенный Метод

abstract protected matches ( mixed $subject, array $arguments ) : boolean
$subject mixed
$arguments array
Результат boolean

negativeMatch() закрытый публичный Метод

final public negativeMatch ( string $name, mixed $subject, array $arguments ) : mixed
$name string
$subject mixed
$arguments array
Результат mixed

positiveMatch() закрытый публичный Метод

final public positiveMatch ( string $name, mixed $subject, array $arguments ) : mixed
$name string
$subject mixed
$arguments array
Результат mixed @throws FailureException