You are here

class AuthcacheP13nTestFilterStub in Authenticated User Page Caching (Authcache) 7.2

Stub class for content builder.

Hierarchy

Expanded class hierarchy of AuthcacheP13nTestFilterStub

File

modules/authcache_p13n/tests/authcache_p13n.stub.inc, line 314
Stub classes for testing.

View source
class AuthcacheP13nTestFilterStub implements AuthcacheP13nFilterInterface {
  protected $observer;

  /**
   * Construct new stub class.
   */
  public function __construct($observer) {
    $this->observer = $observer;
  }

  /**
   * {@inheritdoc}
   */
  public function filter($event, $input) {
    return $this->observer
      ->record($this, __FUNCTION__, func_get_args());
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nTestFilterStub::$observer protected property
AuthcacheP13nTestFilterStub::filter public function Perform a filter operation. Overrides AuthcacheP13nFilterInterface::filter
AuthcacheP13nTestFilterStub::__construct public function Construct new stub class.