public function define(Container $di)
    {
        foreach ($this->params as $key => $value) {
            if (! isset($di->values[$key])) {
                $di->values[$key] = $value;
            }
        }

        $this->defineView($di);
        $this->defineHelpers($di);
    }