PHP Class VCR\LibraryHooks\SoapHook

Inheritance: implements VCR\LibraryHooks\LibraryHook
Exibir arquivo Open project: php-vcr/php-vcr

Public Methods

Method Description
__construct ( VCR\CodeTransform\AbstractCodeTransform $codeTransformer, StreamProcessor $processor ) Creates a SOAP hook instance.
__destruct ( ) : void Cleanup.
disable ( )
doRequest ( string $request, string $location, string $action, integer $version, integer $one_way, $options = [] ) : string
enable ( Closure $requestCallback )
isEnabled ( )

Method Details

__construct() public method

Creates a SOAP hook instance.
public __construct ( VCR\CodeTransform\AbstractCodeTransform $codeTransformer, StreamProcessor $processor )
$codeTransformer VCR\CodeTransform\AbstractCodeTransform
$processor VCR\Util\StreamProcessor

__destruct() public method

Cleanup.
public __destruct ( ) : void
return void

disable() public method

public disable ( )

doRequest() public method

public doRequest ( string $request, string $location, string $action, integer $version, integer $one_way, $options = [] ) : string
$request string
$location string
$action string
$version integer
$one_way integer
return string SOAP response.

enable() public method

public enable ( Closure $requestCallback )
$requestCallback Closure

isEnabled() public method

public isEnabled ( )