PHP Class Phpro\SoapClient\CodeGenerator\Config\Config

Inheritance: implements Phpro\SoapClient\CodeGenerator\Config\ConfigInterface
Show file Open project: phpro/soap-client Class Usage Examples

Protected Properties

Property Type Description
$destination string
$namespace string
$ruleSet Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface
$soapOptions array
$wsdl string

Public Methods

Method Description
__construct ( string $wsdl = '', string $destination = '' ) Config constructor.
addRule ( Phpro\SoapClient\CodeGenerator\Rules\RuleInterface $rule ) : Config
addSoapOption ( string $key, mixed $value )
create ( ) : Config
getDestination ( ) : string
getNamespace ( ) : string
getRuleSet ( ) : Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface
getSoapOptions ( ) : array
getWsdl ( ) : string
setDestination ( string $destination ) : Config
setNamespace ( string $namespace ) : Config
setRuleSet ( Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface $ruleSet ) : Config
setSoapOptions ( array $soapOptions )
setWsdl ( string $wsdl ) : Config

Method Details

__construct() public method

Config constructor.
public __construct ( string $wsdl = '', string $destination = '' )
$wsdl string
$destination string

addRule() public method

public addRule ( Phpro\SoapClient\CodeGenerator\Rules\RuleInterface $rule ) : Config
$rule Phpro\SoapClient\CodeGenerator\Rules\RuleInterface
return Config

addSoapOption() public method

public addSoapOption ( string $key, mixed $value )
$key string
$value mixed

create() public static method

public static create ( ) : Config
return Config

getDestination() public method

public getDestination ( ) : string
return string

getNamespace() public method

public getNamespace ( ) : string
return string

getRuleSet() public method

public getRuleSet ( ) : Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface
return Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface

getSoapOptions() public method

public getSoapOptions ( ) : array
return array

getWsdl() public method

public getWsdl ( ) : string
return string

setDestination() public method

public setDestination ( string $destination ) : Config
$destination string
return Config

setNamespace() public method

public setNamespace ( string $namespace ) : Config
$namespace string
return Config

setRuleSet() public method

public setRuleSet ( Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface $ruleSet ) : Config
$ruleSet Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface
return Config

setSoapOptions() public method

public setSoapOptions ( array $soapOptions )
$soapOptions array

setWsdl() public method

public setWsdl ( string $wsdl ) : Config
$wsdl string
return Config

Property Details

$destination protected property

protected string $destination
return string

$namespace protected property

protected string $namespace
return string

$ruleSet protected property

protected RuleSetInterface,Phpro\SoapClient\CodeGenerator\Rules $ruleSet
return Phpro\SoapClient\CodeGenerator\Rules\RuleSetInterface

$soapOptions protected property

protected array $soapOptions
return array

$wsdl protected property

protected string $wsdl
return string