dhii/output-renderer-interface

An interface for objects that can perform rendering.

v0.4-alpha1 2021-02-22 07:17 UTC

This package is auto-updated.

Last update: 2024-04-22 14:37:56 UTC


README

Continuous Integration Latest Stable Version Latest Unstable Version

Interfaces for rendering interoperability.

Details

Like other members of the Dhii\Output namespace, interfaces in this package are related to producing output, handling related errors, and providing convenience around output functionality. Particularly, interfaces in this package are at the core of output generation, defining a standard API for anything that can render output.

Therefore, output renderers MUST implement RendererInterface. If RendererInterface#render() is unable to produce output, a CouldNotRenderExceptionInterface MUST be thrown.

Interfaces