You are here

public function AuthcacheP13nTestContentEncoderStub::encode in Authenticated User Page Caching (Authcache) 7.2

Serialize a result produced by AuthcacheP13nContentBuilder::build().

Overrides AuthcacheP13nContentEncoderInterface::encode

File

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

Class

AuthcacheP13nTestContentEncoderStub
Stub class for content encoder.

Code

public function encode($result) {
  return $this->observer
    ->record($this, __FUNCTION__, func_get_args());
}