Dhii/placeholder-template

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Dhii - Placeholder Template

[![Build Status](https://travis-ci.com/Dhii/placeholder-template.svg?branch=develop)](https://travis-ci.com/Dhii/placeholder-template)
[![Code Climate](https://codeclimate.com/github/Dhii/placeholder-template/badges/gpa.svg)](https://codeclimate.com/github/Dhii/placeholder-template)
[![Test Coverage](https://codeclimate.com/github/Dhii/placeholder-template/badges/coverage.svg)](https://codeclimate.com/github/Dhii/placeholder-template/coverage)
[![Latest Stable Version](https://poser.pugx.org/dhii/placeholder-template/version)](https://packagist.org/packages/dhii/placeholder-template)
[![Latest Unstable Version](https://poser.pugx.org/dhii/placeholder-template/v/unstable)](https://packagist.org/packages/dhii/placeholder-template)
[![This package complies with Dhii standards](https://img.shields.io/badge/Dhii-Compliant-green.svg?style=flat-square)][Dhii]

## Details
A template implementation that replaces placeholders in text

### Classes
- [`PlaceholderTemplate`] - A concrete placeholder template implementation. Allows rendering of a template with
placeholders, so as to have the placeholders substituted by values from a container.
- [`AbstractBasePlaceholderTemplate`] - Common functionality for placeholder template implementations.
- [`PlaceholderTemplateFactory`] - A concrete factory of placeholder templates.
- [`AbstractBasePlaceholderTemplateFactory`] - Common functionality for placeholder template factories.


[Dhii]: https://github.com/Dhii/dhii

[`PlaceholderTemplate`]:                                    src/PlaceholderTemplate.php
[`AbstractBasePlaceholderTemplate`]:                        src/AbstractBasePlaceholderTemplate.php
[`PlaceholderTemplateFactory`]:                             src/PlaceholderTemplateFactory.php
[`AbstractBasePlaceholderTemplateFactory`]:                 src/AbstractBasePlaceholderTemplateFactory.php