Adds string template functionality to any class by providing methods to load and parse string templates.
formatTemplate( string $name , array $data )
Format a template string with $data
$name
$data
string
templater( )
templater
Cake\View\StringTemplate
templates( string|null|array $templates null )
Get/set templates to use.
$templates
optional null mixed
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/class-Cake.View.StringTemplateTrait.html