You are here

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