PHP Класс HamcrestTypeBridge

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
argOfTypeThat ( string $type, Hamcrest_Matcher $matcher ) : Object Creates a special mock of $type which wraps the given $matcher.

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

argOfTypeThat() публичный статический Метод

Creates a special mock of $type which wraps the given $matcher.
public static argOfTypeThat ( string $type, Hamcrest_Matcher $matcher ) : Object
$type string Name of the class to subtype
$matcher Hamcrest_Matcher The matcher to proxy
Результат Object A special mock of type $type that wraps $matcher, circumventing type issues.