dhii/output-renderer-interface

An interface for objects that can perform rendering.

v0.3 2019-11-14 11:20 UTC

This package is auto-updated.

Last update: 2020-09-06 08:56:17 UTC


README

Build Status Code Climate Test Coverage Latest Stable Version This package complies with Dhii standards

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