final public function getData($toArray = false) {
        if (is_null($this->valid))
            throw new \Exception('Form must be validated before you can get data');

        if ($toArray)
            return ($this->data) ? $this->data : array();
        else
            return ($this->data) ? new \Object($this->data) : new \Object();
    }