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