class PhockitoClassManifestUpdater extends SS_ClassManifest (View source)

Methods

public
__construct($manifest)

No description

public
addDouble($double, $doubled, $isInterface = false)

No description

public static 
register_double(string $double, string $of, bool $isDoubleOfInterface = false)

The callback that Phockito will call every time there's a new double created

Details

__construct($manifest)

No description

Parameters

$manifest

addDouble($double, $doubled, $isInterface = false)

No description

Parameters

$double
$doubled
$isInterface

static register_double(string $double, string $of, bool $isDoubleOfInterface = false)

The callback that Phockito will call every time there's a new double created

Parameters

string $double
  • The class name of the new double
string $of
  • The class new of the doubled class or interface
bool $isDoubleOfInterface
  • True if $of is an interface, False if it's a class