コード例 #1
0
ファイル: CMDLinePWECore.php プロジェクト: undera/pwe
 public function __construct()
 {
     parent::__construct();
     $this->setXMLDirectory(__DIR__);
     $this->setTempDirectory('/tmp');
     $this->modulesManager = new CMDLineModulesManager($this);
 }
コード例 #2
0
ファイル: UnitTestPWECore.php プロジェクト: undera/pwe
 public function __construct()
 {
     parent::__construct();
     $tmp = \PWEUnitTests::utGetCleanTMP();
     $this->setDataDirectory($tmp);
     $this->setXMLDirectory($tmp);
     file_put_contents($this->getModulesManager()->getRegistryFile(), "<registry/>");
     $this->setTempDirectory($tmp);
     $this->setStructFile(__DIR__ . "/../../dummyStruct.xml");
 }