コード例 #1
0
 private function make_instance()
 {
     return new WPBootstrapper($this->module_container->reveal(), $this->config, $this->restorer->reveal(), $this->wp->reveal());
 }
コード例 #2
0
ファイル: WPCLITest.php プロジェクト: lucatume/wp-browser
 /**
  * @return WPCLI
  */
 private function make_instance()
 {
     return new WPCLI($this->moduleContainer->reveal(), $this->config, $this->executor->reveal());
 }
コード例 #3
0
ファイル: WPDbTest.php プロジェクト: lucatume/wp-browser
 /**
  * @return WPDb
  */
 private function make_instance()
 {
     return new WPDb($this->moduleContainer->reveal(), $this->config);
 }
コード例 #4
0
ファイル: WPLoaderTest.php プロジェクト: lucatume/wp-browser
 /**
  * @return WPLoader
  */
 private function make_instance()
 {
     return new WPLoader($this->moduleContainer->reveal(), $this->config, $this->wp->reveal());
 }
コード例 #5
0
ファイル: WordPressTest.php プロジェクト: lucatume/wp-browser
 /**
  * @return WordPress
  */
 private function make_instance()
 {
     return new WordPress($this->moduleContainer->reveal(), $this->config, $this->client->reveal());
 }
コード例 #6
0
ファイル: WPQueriesTest.php プロジェクト: lucatume/wp-browser
 /**
  * @return WPQueries
  */
 private function make_instance()
 {
     return new WPQueries($this->moduleContainer->reveal(), $this->config, $this->constants->reveal(), $this->wpdb);
 }