pact-foundation / pact-php

PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
271 stars 92 forks source link

refactor: Add FFI\Lib to prevent using FFI\Client directly #487

Closed tienvx closed 6 months ago

tienvx commented 7 months ago
$this->lib->getInteractionPartId(InteractionPart::REQUEST);

will replace

$this->ffi->get('InteractionPart_Request');

Please suggest better name if Lib is not good one.

Depend on https://github.com/pact-foundation/pact-php/pull/483

tienvx commented 6 months ago

Closed as I don't want to refactor this code right now.