| 1 | <?php |
||
| 13 | class Mustache implements Processor |
||
| 14 | { |
||
| 15 | use Processor\Implementation, |
||
| 16 | Helper\GetByReference |
||
| 17 | { |
||
| 18 | Helper\GetByReference::withSourceAndTarget insteadof Processor\Implementation; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Apply processing to a single node |
||
| 23 | * |
||
| 24 | * @param Node $node |
||
| 25 | */ |
||
| 26 | public function applyToNode(Node $node) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Parse as mustache template |
||
| 36 | * |
||
| 37 | * @param string $template |
||
| 38 | */ |
||
| 39 | protected function parse($template) |
||
| 46 | } |
||
| 47 |