/** * Reset config file after class. */ public function tearDown() { $config = Config::getInstance(); $config->setConfigFile(); }
/** * Construct. */ public function __construct($configFile = null) { $this->config = Config::getInstance($configFile); $wordNetPath = $this->config->getPath(); $this->wordNet = new WordNetConsole($wordNetPath); }