superatom / view
The Superatom View package.
dev-master
2015-10-01 14:28 UTC
Requires
- php: >5.4.0
- twig/extensions: ^1.2
- twig/twig: ~1.0
This package is auto-updated.
Last update: 2024-10-29 04:41:54 UTC
README
This is a Superatom Framework view library.
Includes twig example implementation.
Abstract View class methods
- public function addData($key, $value);
- Add shared data.
- public function getAllData();
- Return all data.
- abstract public function render($template, $data = []);
- Renders a template
License
MIT