class AuthcacheP13nTestContentBuilderStub in Authenticated User Page Caching (Authcache) 7.2
Stub class for content builder.
Hierarchy
- class \AuthcacheP13nTestContentBuilderStub implements AuthcacheP13nContentBuilderInterface
Expanded class hierarchy of AuthcacheP13nTestContentBuilderStub
File
- modules/
authcache_p13n/ tests/ authcache_p13n.stub.inc, line 244 - Stub classes for testing.
View source
class AuthcacheP13nTestContentBuilderStub implements AuthcacheP13nContentBuilderInterface {
protected $observer;
/**
* Construct new stub class.
*/
public function __construct($observer) {
$this->observer = $observer;
}
/**
* {@inheritdoc}
*/
public function build($input, $context) {
return $this->observer
->record($this, __FUNCTION__, func_get_args());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nTestContentBuilderStub:: |
protected | property | ||
AuthcacheP13nTestContentBuilderStub:: |
public | function |
Build and return the content defined by the input parameters. Overrides AuthcacheP13nContentBuilderInterface:: |
|
AuthcacheP13nTestContentBuilderStub:: |
public | function | Construct new stub class. |