protected function __construct(WAPConfig $config) { $this->wapConfig = $config; $this->articleTagDB = WAPTagDB::getArticleTagDB($config); $this->userTagDB = WAPTagDB::getUserTagDB($config); $this->dbType = $config->getDBType(); }