private function make_instance()
 {
     return new WPBootstrapper($this->module_container->reveal(), $this->config, $this->restorer->reveal(), $this->wp->reveal());
 }
Exemple #2
0
 /**
  * @return WPCLI
  */
 private function make_instance()
 {
     return new WPCLI($this->moduleContainer->reveal(), $this->config, $this->executor->reveal());
 }
Exemple #3
0
 /**
  * @return WPDb
  */
 private function make_instance()
 {
     return new WPDb($this->moduleContainer->reveal(), $this->config);
 }
Exemple #4
0
 /**
  * @return WPLoader
  */
 private function make_instance()
 {
     return new WPLoader($this->moduleContainer->reveal(), $this->config, $this->wp->reveal());
 }
 /**
  * @return WordPress
  */
 private function make_instance()
 {
     return new WordPress($this->moduleContainer->reveal(), $this->config, $this->client->reveal());
 }
 /**
  * @return WPQueries
  */
 private function make_instance()
 {
     return new WPQueries($this->moduleContainer->reveal(), $this->config, $this->constants->reveal(), $this->wpdb);
 }