Class Invocation
A function call with its arguments and result.
Namespace: phpmock\spy
License: WTFPL
Author: Markus Malkusch markus@malkusch.de
Link: Donations
Located at spy/Invocation.php
Methods summary
License: WTFPL
Author: Markus Malkusch markus@malkusch.de
Link: Donations
Located at spy/Invocation.php
public
array
#
getArguments( )
Returns the arguments of a function call.
Returns the arguments of a function call.
Returns
array
The arguments.
The arguments.
public
mixed
public
boolean
#
isExceptionThrown( )
Returns if the spied function threw an exception.
Returns if the spied function threw an exception.
Returns
boolean
TRUE if an exception was thrown.
TRUE if an exception was thrown.
public
Exception|null
#
getException( )
Return the exception which was thrown by the spied function.
Return the exception which was thrown by the spied function.
Returns
Exception|null
function's exception or null if none was thrown
function's exception or null if none was thrown