public function offsetSet($offset, $value) { if (is_null($offset)) { throw new \InvalidArgumentException('Append not supported for template'); } $this->_vars[$offset] = $value; }