public function writePact(): bool
    {
        // you do not want to save the reified json
        $pactJson = \json_encode($this->message);

        return $this->pactMessage->update($pactJson, $this->config->getConsumer(), $this->config->getProvider(), $this->config->getPactDir());
    }
public function writePact(): bool
    {
        // you do not want to save the reified json
        $pactJson = \json_encode($this->message);

        return $this->pactMessage->update($pactJson, $this->config->getConsumer(), $this->config->getProvider(), $this->config->getPactDir());
    }
public function writePact ( ) : bool { // you do not want to save the reified json $ pactJson = \ json_encode ( $ this -> message ) ; return $ this -> pactMessage -> update ( $ pactJson , $ this -> config -> getConsumer ( ) , $ this -> config -> getProvider ( ) , $ this -> config -> getPactDir ( ) ) ; }
Write the Pact without deleting the interactions.

@throws \PhpPact\Standalone\Installer\Exception\FileDownloadFailureException
@throws \PhpPact\Standalone\Installer\Exception\NoDownloaderFoundException

@return bool
Write the Pact without deleting the interactions .