InterNations\Component\HttpMock\Server::__construct PHP Method

__construct() public method

public __construct ( $port, $host )
    public function __construct($port, $host)
    {
        $this->port = $port;
        $this->host = $host;
        parent::__construct(sprintf('exec php -dalways_populate_raw_post_data=-1 -derror_log= -S %s -t public/ public/index.php', $this->getConnectionString()), __DIR__ . '/../');
        $this->setTimeout(null);
    }