You are here

interface AuthcacheP13nContentBuilderInterface in Authenticated User Page Caching (Authcache) 7.2

Interface for request response content builders.

Hierarchy

Expanded class hierarchy of AuthcacheP13nContentBuilderInterface

All classes that implement AuthcacheP13nContentBuilderInterface

File

modules/authcache_p13n/includes/AuthcacheP13nContentBuilderInterface.inc, line 10
Define content builder interface.

View source
interface AuthcacheP13nContentBuilderInterface {

  /**
   * Build and return the content defined by the input parameters.
   *
   * When no appropriate content is present, implementations should throw an
   * AuthcacheP13nRequsetNotFound exception.
   *
   * @param array $input
   *   The GET parameters in key-value form
   *
   * @param array $context
   *   Additional run-time per-request context (key-value pairs).
   *
   * @return array|string
   *   The built content suitable for passing to the content encoder.
   *
   * @throws AuthcacheP13nRequestNotFound
   */
  public function build($input, $context);

}

Members

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nContentBuilderInterface::build public function Build and return the content defined by the input parameters. 4