Skip to content

0.2.0

Choose a tag to compare

@dereuromark dereuromark released this 12 Dec 01:21
· 101 commits to master since this release

Improvements

API changes

Moved value object Html and the trait HtmlStringable one level up:

-use Templating\View\Html\Html;
-use Templating\View\Html\HtmlStringable;
+use Templating\View\Html;
+use Templating\View\HtmlStringable;

Renamed helper traits

-use Templating\View\Helper\HtmlTrait;
-use Templating\View\Helper\FormTrait;
+use Templating\View\Helper\HtmlHelperTrait;
+use Templating\View\Helper\FormHelperTrait;

Added serialization support

The value objects should be safe for serialization using PHP native serialize() as well as
json_encode(). As such they should work fine with caching and other forms of transportation
(e.g. API) through different layers.