Skip to content

Repository files navigation

Clean\View

Build StatusCode ClimateTest CoverageIssue Count

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

Installation

via Composer

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

Usage

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

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages