Class SimpleByValue


A type of SimpleMethodAction.

Stashes a value for returning later.

Located in /mock_objects.php (line 550)

Method Summary
 SimpleByValue __construct (mixed $value)
 mixed &act ()
Constructor __construct (line 559)

Stashes it for later.

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

Returns the value stored earlier.

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

Documentation generated on Sun, 31 Oct 2010 16:31:49 -0500 by phpDocumentor 1.4.3