start() public method

This method will wait up to 5 seconds for the server to start. When it returns an address, it is guaranteed that the server has started and is listening for connections. If it returns false on the other hand, there will be no guarantee that the server started properly.
public start ( ) : string
return string The address where the server is listening for connections, or false if the server failed to start for some reason.
 /**
  * The setup method that is run before any tests in this class.
  */
 protected function setup()
 {
     $this->server = new BuiltInServer('configLoader');
     $this->server_addr = $this->server->start();
     $this->server_pid = $this->server->getPid();
     $this->shared_file = sys_get_temp_dir() . '/' . $this->server_pid . '.lock';
     @unlink($this->shared_file);
     // remove it if it exists
 }