public function data(array $modules, bool $reset = false): void
    {
        if ($reset) {
            $this->viewData = [];
        }

        $this->viewData = array_merge($this->viewData, $modules);
    }