src/Mvc/View/Template.php
/**
	 * Validate values for safety
	 * @param $value
	 * @throws Exception
	 */
Validate values for safety
@param $value
@throws Exception
Validate values for safety @param $value @throws Exception
protected function validateValue($value) {
		if (is_object($value)) {
			throw new Exception('Can not set an object on template');
		}
	}
protected function validateValue ( $ value ) { if ( is_object ( $ value ) ) { throw new Exception ( 'Can not set an object on template' ) ; } }
Validate values for safety
 @param $value
 @throws Exception
Validate values for safety @param $value @throws Exception