2017 © Pedro Peláez
 

library output-renderer-interface

An interface for objects that can perform rendering.

image

dhii/output-renderer-interface

An interface for objects that can perform rendering.

  • Saturday, June 2, 2018
  • by XedinUnknown
  • Repository
  • 3 Watchers
  • 0 Stars
  • 2,867 Installations
  • PHP
  • 12 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 33 % Grown

The README.md

Dhii - Output - Renderer - Interface

Build Status Code Climate Test Coverage Latest Stable Version This package complies with Dhii standards, (*1)

Interfaces for rendering interoperability., (*2)

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., (*3)

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

Interfaces

  • [RendererInterface] - Represents a renderer, i.e. something that can produce output.
  • [TemplateInterface] - A renderer that uses context to render.
  • [BlockInterface] - A renderer that has access to the render context, and is also stringable.
  • [RendererAwareInterface] - Something that exposes a renderer.
  • [ContextAwareInterface] - Something that can have a rendering context retrieved.
  • [BlockAwareInterface] - Something that can have a block retrieved.
  • [TemplateAwareInterface] - Something that can have a template retrieved.
  • [RendererExceptionInterface] - An exception that occurs in relation to a renderer, and is aware of it.
  • [CouldNotRenderExceptionInterface] - A specialized renderer exception that signals problems during rendering.
  • [TemplateRenderExceptionInterface] - A specialized "could-not-render" exception that is aware of the rendering context.

The Versions

10/05 2018

dev-task/16_add-block-factory

dev-task/16_add-block-factory

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

05/04 2018

v0.3-alpha1

0.3.0.0-alpha1

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

02/02 2018

dev-fix/14-loosen-context-types

dev-fix/14-loosen-context-types

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

04/10 2017

dev-master

9999999-dev

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

04/10 2017

v0.2

0.2.0.0

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

04/10 2017

dev-release/0.2

dev-release/0.2

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

08/09 2017

v0.1

0.1.0.0

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team

03/09 2017

dev-release/0.1

dev-release/0.1

An interface for objects that can perform rendering.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhii Team