Updated documentation to reflect thrown exceptions.
This commit is contained in:
@@ -167,6 +167,7 @@ class Mustache {
|
|||||||
* @param string $modifier
|
* @param string $modifier
|
||||||
* @param string $tag_name
|
* @param string $tag_name
|
||||||
* @param array $context
|
* @param array $context
|
||||||
|
* @throws MustacheException Unmatched section tag encountered.
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function renderTag($modifier, $tag_name, &$context) {
|
protected function renderTag($modifier, $tag_name, &$context) {
|
||||||
@@ -308,6 +309,7 @@ class Mustache {
|
|||||||
* @access protected
|
* @access protected
|
||||||
* @param string $tag_name
|
* @param string $tag_name
|
||||||
* @param array $context
|
* @param array $context
|
||||||
|
* @throws MustacheException Unknown variable name.
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function getVariable($tag_name, &$context) {
|
protected function getVariable($tag_name, &$context) {
|
||||||
@@ -337,6 +339,7 @@ class Mustache {
|
|||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
* @param string $tag_name
|
* @param string $tag_name
|
||||||
|
* @throws MustacheException Unknown partial name.
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function getPartial($tag_name) {
|
protected function getPartial($tag_name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user