AuthcacheP13nContentEncoderInterface.inc in Authenticated User Page Caching (Authcache) 7.2
Defines content encoder interface.
File
modules/authcache_p13n/includes/AuthcacheP13nContentEncoderInterface.incView source
<?php
/**
* @file
* Defines content encoder interface.
*/
/**
* Interface for content encoders.
*/
interface AuthcacheP13nContentEncoderInterface {
/**
* Return an appropriate internet media type string.
*
* Return the internet media type string identifying the output produced by
* the encoding function.
*/
public function contentType();
/**
* Serialize a result produced by AuthcacheP13nContentBuilder::build().
*/
public function encode($result);
}
Interfaces
Name | Description |
---|---|
AuthcacheP13nContentEncoderInterface | Interface for content encoders. |