You are here

public function ModuleStub::__construct in Authenticated User Page Caching (Authcache) 7.2

Construct a new module stub-helper.

Parameters

string $name: The name of an existing stub-module, e.g., mymodule_test

File

tests/HookStub.inc, line 19
Defines some helper classes for stubbing and recording hook invocations.

Class

ModuleStub
Helper class representing a stub-module.

Code

public function __construct($name) {
  $this->name = $name;
}