PHP Class WsdlToPhp\PackageGenerator\Parser\SoapClient\Structs

Inheritance: extends AbstractParser
Show file Open project: wsdltophp/packagegenerator Class Usage Examples

Public Methods

Method Description
parse ( ) Parses the SoapClient types

Protected Methods

Method Description
cleanType ( string $type ) : string Remove useless break line, tabs Remove curly braces Remove brackets Adds space before semicolon to parse it Remove duplicated spaces
parseComplexStruct ( array $typeDef )
parseType ( string $type )

Private Methods

Method Description
isStructDefined ( string $type ) : boolean
structHasBeenDefined ( string $type ) : Structs
typeSignature ( string $type ) : string

Method Details

cleanType() protected static method

Remove useless break line, tabs Remove curly braces Remove brackets Adds space before semicolon to parse it Remove duplicated spaces
protected static cleanType ( string $type ) : string
$type string
return string

parse() public method

Parses the SoapClient types
See also: WsdlToPhp\PackageGenerator\Parser\ParserInterface::parse()
public parse ( )

parseComplexStruct() protected method

protected parseComplexStruct ( array $typeDef )
$typeDef array

parseType() protected method

protected parseType ( string $type )
$type string