PHP Class VCR\LibraryHooks\SoapHook

Inheritance: implements VCR\LibraryHooks\LibraryHook
Afficher le fichier Open project: php-vcr/php-vcr

Méthodes publiques

Méthode 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 méthode

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

__destruct() public méthode

Cleanup.
public __destruct ( ) : void
Résultat void

disable() public méthode

public disable ( )

doRequest() public méthode

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
Résultat string SOAP response.

enable() public méthode

public enable ( Closure $requestCallback )
$requestCallback Closure

isEnabled() public méthode

public isEnabled ( )