Метод | Описание | |
---|---|---|
it_returns_anonymous_double_instance_by_default ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
it_returns_class_double_instance_if_set ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double, ReflectionClass $class ) | ||
it_returns_same_double_instance_if_called_2_times ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double1, Prophecy\Prophecy\ProphecySubjectInterface $double2 ) | ||
its_addInterface_throws_InterfaceNotFoundException_if_no_interface_found ( ) | ||
its_addInterface_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
its_setParentClass_throws_ClassNotFoundException_if_class_not_found ( ) | ||
its_setParentClass_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
let ( Prophecy\Doubler\Doubler $doubler ) |
public it_returns_anonymous_double_instance_by_default ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
$double | Prophecy\Prophecy\ProphecySubjectInterface |
public it_returns_class_double_instance_if_set ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double, ReflectionClass $class ) | ||
$double | Prophecy\Prophecy\ProphecySubjectInterface | |
$class | ReflectionClass |
public it_returns_same_double_instance_if_called_2_times ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double1, Prophecy\Prophecy\ProphecySubjectInterface $double2 ) | ||
$double1 | Prophecy\Prophecy\ProphecySubjectInterface | |
$double2 | Prophecy\Prophecy\ProphecySubjectInterface |
public its_addInterface_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
$double | Prophecy\Prophecy\ProphecySubjectInterface |
public its_setParentClass_throws_exception_if_prophecy_is_already_created ( $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double ) | ||
$double | Prophecy\Prophecy\ProphecySubjectInterface |
public let ( Prophecy\Doubler\Doubler $doubler ) | ||
$doubler | Prophecy\Doubler\Doubler |