clean/view

0.1.0 2015-08-04 00:09 UTC

This package is auto-updated.

Last update: 2024-04-06 07:28:53 UTC


README

Build Status Code Climate Test Coverage Issue Count

Provides an implementation of the TemplateView and TwoStepView patterns, with support for helpers.

Installation

via Composer

require: {
  "clean/view": "dev-master"
}

Usage

$view = new View('template.phtml', ['placeholder' => 'value', ...]);
$view->setParent(new View('layout.phtml', [...]));
echo $view;