clean/view

0.1.0 2015-08-04 00:09 UTC

This package is auto-updated.

Last update: 2021-09-06 02:23:30 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;