Class SimpleByValue

Description

A type of SimpleMethodAction.

Stashes a value for returning later.

Located in /mock_objects.php (line 543)


	
			
Variable Summary
 mixed $_value
Method Summary
 SimpleByValue SimpleByValue (mixed $value)
 mixed &act ()
Variables
mixed $_value (line 544)
Methods
Constructor SimpleByValue (line 553)

Stashes it for later.

  • access: public
SimpleByValue SimpleByValue (mixed $value)
  • mixed $value: You need to clone objects if you want copy semantics for these.
act (line 562)

Returns the value stored earlier.

  • return: Whatever was stashed.
  • access: public
mixed &act ()

Documentation generated on Sun, 04 May 2008 09:21:48 -0500 by phpDocumentor 1.3.0