class XsdTypes extends AbstractYamlReader (View source)

Constants

MAIN_KEY

ANONYMOUS_TYPE

This type is returned by the \SoapClient class when it does not succeed to define the type of a struct or an attribute

ANONYMOUS_KEY

Properties

static protected AbstractYamlReader[] $instances from AbstractYamlReader
protected string $filename Path to file to parse from AbstractYamlReader
protected array $types List of PHP reserved types from config file

Methods

__construct(string $filename)

No description

mixed
loadYaml(string $filename)

No description

instance(string $filename = null)

No description

array
parseSimpleArray(string $filename, string $mainKey)

No description

static 
resetInstances()

For tests purpose only!

parseXsdTypes(string $filename)

No description

bool
isXsd(string $xsdType)

No description

static bool
isAnonymous(string $xsdType)

No description

string
phpType(string $xsdType)

No description

Details

protected __construct(string $filename)

Parameters

string $filename options's file to parse

protected mixed loadYaml(string $filename)

Parameters

string $filename

Return Value

mixed

static AbstractYamlReader instance(string $filename = null)

Parameters

string $filename options's file to parse

Return Value

AbstractYamlReader

protected array parseSimpleArray(string $filename, string $mainKey)

Parameters

string $filename
string $mainKey

Return Value

array

Exceptions

InvalidArgumentException

static resetInstances()

For tests purpose only!

protected XsdTypes parseXsdTypes(string $filename)

Parameters

string $filename

Return Value

XsdTypes

bool isXsd(string $xsdType)

Parameters

string $xsdType

Return Value

bool

static bool isAnonymous(string $xsdType)

Parameters

string $xsdType

Return Value

bool

string phpType(string $xsdType)

Parameters

string $xsdType

Return Value

string