Class SimpleByValue

Description

A type of SimpleMethodAction.

Stashes a value for returning later.

Located in /_tests/simpletest/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, 02 Jan 2011 23:18:05 +0000 by phpDocumentor 1.4.3