think\view\driver\Think::__construct PHP Метод

__construct() публичный Метод

public __construct ( $config = [] )
    public function __construct($config = [])
    {
        $this->config = array_merge($this->config, $config);
        if (empty($this->config['view_path'])) {
            $this->config['view_path'] = App::$modulePath . 'view' . DS;
        }
        $this->template = new Template($this->config);
    }