PHP Class SimpleByReference, simpletest

Stashes a reference for returning later.
ファイルを表示 Open project: simpletest/simpletest

Public Methods

Method Description
__construct ( mixed &$reference ) Stashes it for later.
act ( ) : mixed Returns the reference stored earlier.

Method Details

__construct() public method

Stashes it for later.
public __construct ( mixed &$reference )
$reference mixed Actual PHP4 style reference.

act() public method

Returns the reference stored earlier.
public act ( ) : mixed
return mixed Whatever was stashed.