You are here

public function HookStubProxy::off in Authenticated User Page Caching (Authcache) 7.2

Disable recording of invocations.

Return value

HookStubProxy A proxy object representing the stubbed hook.

File

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

Class

HookStubProxy
(Internal) helper class representing a stub-hook.

Code

public function off() {
  return HookStub::off($this->hookname);
}