class AuthcacheP13nTestFragmentStub in Authenticated User Page Caching (Authcache) 7.2
Stub fragment.
Hierarchy
- class \AuthcacheP13nTestFragmentStub implements AuthcacheP13nFragmentInterface
Expanded class hierarchy of AuthcacheP13nTestFragmentStub
File
- modules/
authcache_p13n/ tests/ authcache_p13n.stub.inc, line 335 - Stub classes for testing.
View source
class AuthcacheP13nTestFragmentStub implements AuthcacheP13nFragmentInterface {
protected $observer;
/**
* Construct new stub class.
*/
public function __construct($observer) {
$this->observer = $observer;
}
/**
* {@inheritdoc}
*/
public function render($key, $subject, $context) {
return $this->observer
->record($this, __FUNCTION__, func_get_args());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nTestFragmentStub:: |
protected | property | ||
AuthcacheP13nTestFragmentStub:: |
public | function |
Render and return fragment. Overrides AuthcacheP13nFragmentInterface:: |
|
AuthcacheP13nTestFragmentStub:: |
public | function | Construct new stub class. |