An interface for objects that can perform rendering.

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

This package is auto-updated.

Last update: 2021-02-22 07:38:00 UTC


Continuous Integration Latest Stable Version Latest Unstable Version

Interfaces for rendering interoperability.


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.