Class SimpleErrorThrower

Description

A type of SimpleMethodAction.

Stashes an error for emitting later.

Located in /mock_objects.php (line 604)


	
			
Method Summary
 SimpleErrorThrower __construct (string $error, integer $severity)
 void &act ()
Methods
Constructor __construct (line 613)

Stashes an error to throw later.

SimpleErrorThrower __construct (string $error, integer $severity)
  • string $error: Error message.
  • integer $severity: PHP error constant, e.g E_USER_ERROR.
act (line 621)

Triggers the stashed error.

void &act ()

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