PHP Class WsdlToPhp\PackageGenerator\ConfigurationReader\XsdTypes

Inheritance: extends AbstractYamlReader
显示文件 Open project: wsdltophp/packagegenerator Class Usage Examples

Protected Properties

Property Type Description
$types array List of PHP reserved types from config file

Public Methods

Method Description
instance ( $filename = null ) : XsdTypes
isAnonymous ( string $xsdType ) : boolean
isXsd ( string $xsdType ) : boolean
phpType ( string $xsdType ) : string

Protected Methods

Method Description
__construct ( string $filename )
parseXsdTypes ( string $filename ) : XsdTypes

Method Details

__construct() protected method

protected __construct ( string $filename )
$filename string

instance() public static method

public static instance ( $filename = null ) : XsdTypes
return XsdTypes

isAnonymous() public static method

public static isAnonymous ( string $xsdType ) : boolean
$xsdType string
return boolean

isXsd() public method

public isXsd ( string $xsdType ) : boolean
$xsdType string
return boolean

parseXsdTypes() protected method

protected parseXsdTypes ( string $filename ) : XsdTypes
$filename string
return XsdTypes

phpType() public method

public phpType ( string $xsdType ) : string
$xsdType string
return string

Property Details

$types protected_oe property

List of PHP reserved types from config file
protected array $types
return array