class AuthcacheP13nTestFragmentLoaderStub in Authenticated User Page Caching (Authcache) 7.2
Stub fragment loader.
Hierarchy
- class \AuthcacheP13nTestFragmentLoaderStub implements AuthcacheP13nFragmentLoaderInterface
 
Expanded class hierarchy of AuthcacheP13nTestFragmentLoaderStub
File
- modules/
authcache_p13n/ tests/ authcache_p13n.stub.inc, line 377  - Stub classes for testing.
 
View source
class AuthcacheP13nTestFragmentLoaderStub implements AuthcacheP13nFragmentLoaderInterface {
  protected $observer;
  /**
   * Construct new stub class.
   */
  public function __construct($observer) {
    $this->observer = $observer;
  }
  /**
   * {@inheritdoc}
   */
  public function load($keys, $context) {
    return $this->observer
      ->record($this, __FUNCTION__, func_get_args());
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            AuthcacheP13nTestFragmentLoaderStub:: | 
                  protected | property | ||
| 
            AuthcacheP13nTestFragmentLoaderStub:: | 
                  public | function | 
            Load the objects designated by the given list of keys. Overrides AuthcacheP13nFragmentLoaderInterface:: | 
                  |
| 
            AuthcacheP13nTestFragmentLoaderStub:: | 
                  public | function | Construct new stub class. |