summaryrefslogtreecommitdiff
path: root/src/UndefinedVariable.php
blob: 53f13f416993c91730eea908fc11885b6613250d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Smarty;

/**
 * class for undefined variable object
 * This class defines an object for undefined variable handling
 */
class UndefinedVariable extends Variable {

	/**
	 * Always returns an empty string.
	 *
	 * @return string
	 */
	public function __toString() {
		return '';
	}
}