public function set($key, $value)
    {
        $this->constants[$key] = $value;

        $same = $key === 'APPPATH';

        $path = $this->constants[$key] . '/views/';

        $same && $this->constants['VIEWPATH'] = $path;

        return $this;
    }