src/Core/Template.php
public function getData()
    {
        $data = [];
        foreach ($this->data as $name => $data_value) {
            $filter = isset($this->filters[$name]) ? $this->filters[$name] : $this->template_filter;
            switch ($filter) {
                case 0:
                    $data[$name] = $data_value;
                    break;
                case 1:
                    $data[$name] = self::escape($data_value);
                    break;
                case 2:
                    $data[$name] = $this->cleanXSS($data_value);
            }
        }
        return $data;
    }
public function getData()
    {
        $data = [];
        foreach ($this->data as $name => $data_value) {
            $filter = isset($this->filters[$name]) ? $this->filters[$name] : $this->template_filter;
            switch ($filter) {
                case 0:
                    $data[$name] = $data_value;
                    break;
                case 1:
                    $data[$name] = self::escape($data_value);
                    break;
                case 2:
                    $data[$name] = $this->cleanXSS($data_value);
            }
        }
        return $data;
    }
@return mixed

@throws \OutOfBoundsException