Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
spec
Prophecy
Doubler
LazyDoubleSpec
let
spec\Prophecy\Doubler\LazyDoubleSpec::let PHP Method
LazyDoubleSpec Class Documentation
Datei anzeigen
Open project: phpspec/prophecy
let()
public
method
public
let
(
Prophecy\Doubler\Doubler
$doubler
)
$doubler
Prophecy\Doubler\Doubler
function let(Doubler $doubler) { $this->beConstructedWith($doubler); }
LazyDoubleSpec
it_returns_anonymous_double_instance_by_default
it_returns_class_double_instance_if_set
it_returns_same_double_instance_if_called_2_times
its_addInterface_throws_InterfaceNotFoundException_if_no_interface_found
its_addInterface_throws_exception_if_prophecy_is_already_created
its_setParentClass_throws_ClassNotFoundException_if_class_not_found
its_setParentClass_throws_exception_if_prophecy_is_already_created
let