PhockitoClassManifestUpdater::register_double
The callback that Phockito will call every time there's a new double created
Signature
public function register_double(string
$double,
string
$of,
[boolean
$isDoubleOfInterface = false] )
Parameters
$double
— string- - The class name of the new double
$of
— string- - The class new of the doubled class or interface
$isDoubleOfInterface
— boolean- - True if $of is an interface, False if it's a class