Ejemplo n.º 1
0
 /**
  * Get and value from template context, optionally set a default and filter.
  * Strings are decoded from html entities.
  *
  * @param  string       $var     Variable name
  * @param  mixed        $default Default
  * @param  string|array $filter  Array or pipe-separated list of filters
  * @return mixed
  */
 public function decode($var, $default = '', $filter = null)
 {
     return $this->escaper->decode($this->raw($var, $default, $filter));
 }