Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SimpleByValue
PHP Class SimpleByValue, simpletest
Stashes a value for returning later.
Show file
Open project: simpletest/simpletest
Public Methods
Method
Description
__construct
(
mixed
$value
)
Stashes it for later.
act
( ) :
mixed
Returns the value stored earlier.
Method Details
__construct()
public
method
Stashes it for later.
public
__construct
(
mixed
$value
)
$value
mixed
You need to clone objects if you want copy semantics for these.
act()
public
method
Returns the value stored earlier.
public
act
( ) :
mixed
return
mixed
Whatever was stashed.