Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 948 Bytes

File metadata and controls

26 lines (19 loc) · 948 Bytes

Clean\View

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;