Merge branch 'dev' into feature/test-coverage
Conflicts: Mustache.php
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* DotNotation example class. Uses DOT_NOTATION pragma.
|
||||
*
|
||||
* @extends Mustache
|
||||
*/
|
||||
class DotNotation extends Mustache {
|
||||
public $person = array(
|
||||
'name' => array('first' => 'Chris', 'last' => 'Firescythe'),
|
||||
'age' => 24,
|
||||
'hometown' => array(
|
||||
'city' => 'Cincinnati',
|
||||
'state' => 'OH',
|
||||
)
|
||||
);
|
||||
|
||||
public $normal = 'Normal';
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{{%DOT-NOTATION}}
|
||||
* {{person.name.first}} {{person.name.last}}
|
||||
* {{person.age}}
|
||||
* {{person.hometown.city}}, {{person.hometown.state}}
|
||||
* {{normal}}
|
||||
@@ -0,0 +1,4 @@
|
||||
* Chris Firescythe
|
||||
* 24
|
||||
* Cincinnati, OH
|
||||
* Normal
|
||||
Reference in New Issue
Block a user