Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
spec
PhpSpec
Wrapper
Subject
WrappedObjectSpec
let
spec\PhpSpec\Wrapper\Subject\WrappedObjectSpec::let PHP Method
WrappedObjectSpec Class Documentation
Exibir arquivo
Open project: phpspec/phpspec
let()
public
method
public
let
(
PhpSpec\Formatter\Presenter\Presenter
$presenter
)
$presenter
PhpSpec\Formatter\Presenter\Presenter
function let(Presenter $presenter) { $this->beConstructedWith(null, $presenter); }
WrappedObjectSpec
it_can_be_instantiated_with_a_factory_method
it_can_be_instantiated_with_a_factory_method_with_method_name_only
it_instantiates_object_using_classname
it_keeps_instantiated_object
it_throws_an_exception_when_factory_method_returns_a_non_object
it_throws_an_exception_when_trying_to_change_constructor_params_after_instantiation
it_throws_an_exception_when_trying_to_change_factory_method_after_instantiation
it_throws_an_exception_when_trying_to_change_from_constructor_to_factory_method_after_instantiation
it_throws_an_exception_when_trying_to_change_from_factory_method_to_constructor_after_instantiation
let