| 1 | <?php |
||
| 12 | class Mustache extends TemplateEngine |
||
| 13 | { |
||
| 14 | private $mustache; |
||
| 15 | /** |
||
| 16 | * |
||
| 17 | * @return \Mustache_Engine |
||
| 18 | */ |
||
| 19 | private function getMustache($loaders = true) |
||
| 32 | |||
| 33 | protected function generate($data) |
||
| 38 | |||
| 39 | public function getTemplateFile($name) |
||
| 43 | |||
| 44 | protected function generateFromString($string, $data) |
||
| 49 | |||
| 50 | } |
||
| 51 |
When comparing two booleans, it is generally considered safer to use the strict comparison operator.