class AuthcacheP13nTestFragmentValidatorStub in Authenticated User Page Caching (Authcache) 7.2
Stub fragment validator.
Hierarchy
Expanded class hierarchy of AuthcacheP13nTestFragmentValidatorStub
File
- modules/
authcache_p13n/ tests/ authcache_p13n.stub.inc, line 356 - Stub classes for testing.
View source
class AuthcacheP13nTestFragmentValidatorStub implements AuthcacheP13nFragmentValidatorInterface {
protected $observer;
/**
* Construct new stub class.
*/
public function __construct($observer) {
$this->observer = $observer;
}
/**
* {@inheritdoc}
*/
public function validate($keys) {
return $this->observer
->record($this, __FUNCTION__, func_get_args());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nTestFragmentValidatorStub:: |
protected | property | ||
AuthcacheP13nTestFragmentValidatorStub:: |
public | function |
Validate the given list of keys. Overrides AuthcacheP13nFragmentValidatorInterface:: |
|
AuthcacheP13nTestFragmentValidatorStub:: |
public | function | Construct new stub class. |