TemplateParser: make most functions protected, only expose processTemplate()
authorKunal Mehta <legoktm@gmail.com>
Mon, 23 Mar 2015 03:06:28 +0000 (20:06 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 23 Mar 2015 03:31:59 +0000 (20:31 -0700)
commit2f88829e1bc914e859be9ef270b3d657ee6a787b
tree8de651408876402e0482f1524d68b665cd3ae2ac
parentcfcaa33fcc424cd85444d71f10f6ce7cc2fb1e58
TemplateParser: make most functions protected, only expose processTemplate()

All of the other functions expose internal implementation details, which no
external caller should ever need. In fact, no external caller does use these
functions directly.

The TemplateParser::compile() tests were removed as they're simply just
checking LightnCandy functionality, which is something the library should be
doing.

Change-Id: If9003d40315e0e5aa361c174b764b799e3b88c34
includes/TemplateParser.php
tests/phpunit/data/templates/foobar_args.mustache [new file with mode: 0644]
tests/phpunit/includes/TemplateParserTest.php