PHP Interface Phpro\SoapClient\Soap\TypeConverter\TypeConverterInterface

A type converter converts between SOAP and PHP types
Afficher le fichier Open project: phpro/soap-client Interface Usage Examples

Méthodes publiques

Méthode Description
convertPhpToXml ( mixed $php ) : string Convert PHP type to XML string.
convertXmlToPhp ( string $xml ) : mixed Convert given XML string to PHP type.
getTypeName ( ) : string Get type name.
getTypeNamespace ( ) : string Get type namespace.

Method Details

convertPhpToXml() public méthode

Convert PHP type to XML string.
public convertPhpToXml ( mixed $php ) : string
$php mixed PHP type
Résultat string

convertXmlToPhp() public méthode

Convert given XML string to PHP type.
public convertXmlToPhp ( string $xml ) : mixed
$xml string XML string
Résultat mixed

getTypeName() public méthode

Get type name.
public getTypeName ( ) : string
Résultat string

getTypeNamespace() public méthode

Get type namespace.
public getTypeNamespace ( ) : string
Résultat string