InterNations\Component\HttpMock\Server::start PHP Метод

start() публичный Метод

public start ( callable $callback = null )
$callback callable
    public function start(callable $callback = null)
    {
        parent::start($callback);
        $this->pollWait();
    }

Usage Example

Пример #1
0
 private function startHttpMock()
 {
     echo "Starting http mock server on {$this->config['host']}:{$this->config['port']}" . PHP_EOL;
     $this->server = new Server($this->config['port'], $this->config['host']);
     $this->server->start();
     $this->setUpDependencyInjection();
 }
All Usage Examples Of InterNations\Component\HttpMock\Server::start