container = $container; } /** * Load automatically helpers * * @access public * @param string $name Helper name * @return mixed */ public function __get($name) { if (! isset($this->helpers[$name])) { $class = '\Kanboard\Helper\\'.ucfirst($name); $this->helpers[$name] = new $class($this->container); } return $this->helpers[$name]; } /** * HTML escaping * * @param string $value Value to escape * @return string */ public function e($value) { return htmlspecialchars($value, ENT_QUOTES, 'UTF-8', false); } }