public function reify(Message $pact): string
    {
        $scripts = $this->installManager->install();

        $json    = \json_encode($pact);
        $process = new ProcessRunner($scripts->getPactMessage(), ['reify', "'" . $json . "'"]);

        $process->runBlocking();

        $output = $process->getOutput();
        \preg_replace("/\r|\n/", '', $output);

        return $output;
    }
public function reify(Message $pact): string
    {
        $scripts = $this->installManager->install();

        $json    = \json_encode($pact);
        $process = new ProcessRunner($scripts->getPactMessage(), ['reify', "'" . $json . "'"]);

        $process->runBlocking();

        $output = $process->getOutput();
        \preg_replace("/\r|\n/", '', $output);

        return $output;
    }
public function reify ( Message $ pact ) : string { $ scripts = $ this -> installManager -> install ( ) ; $ json = \ json_encode ( $ pact ) ; $ process = new ProcessRunner ( $ scripts -> getPactMessage ( ) , [ 'reify' , "'" . $ json . "'" ] ) ; $ process -> runBlocking ( ) ; $ output = $ process -> getOutput ( ) ; \ preg_replace ( "/\r|\n/" , '' , $ output ) ; return $ output ; }
Build an example from the data structure back into its generated form
i.e. strip out all of the matchers etc

@param Message $pact

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

@return string
Build an example from the data structure back into its generated form i . e . strip out all of the matchers etc