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