PHP Class WsdlToPhp\PackageGenerator\ConfigurationReader\GeneratorOptions

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

Protected Properties

Property Type Description
$options array Generator's options

Public Methods

Method Description
getAddComments ( ) : array Get add comments option value
getArraysFolder ( ) : string Get arrays folder option value
getBasicLogin ( ) : string Get basic login option value
getBasicPassword ( ) : string Get basic password option value
getCategory ( ) : string Get category option value
getComposerName ( ) : string Get composer name option value
getDefaultConfigurationPath ( ) : string
getDestination ( ) : string Get destination option value
getEnumsFolder ( ) : string Get enums folder option value
getGatherMethods ( ) : string Get gather methods option value
getGenerateTutorialFile ( ) : boolean Get generate tutorial file option value
getGenericConstantsName ( ) : boolean Get generic constants name option value
getNamespace ( ) : string Get namespace option value
getOptionValue ( string $optionName ) : mixed Returns the option value
getOrigin ( ) : string Get origin option value
getPrefix ( ) : string Get prefix option value
getProxyHost ( ) : string Get basic proxy host option value
getProxyLogin ( ) : string Get basic proxy login option value
getProxyPassword ( ) : string Get basic proxy password option value
getProxyPort ( ) : string Get basic proxy port option value
getServicesFolder ( ) : string Get services folder option value
getSoapClientClass ( ) : string Get struct array class option value
getSoapOptions ( ) : array Get basic soap options option value
getStandalone ( ) : boolean Get standalone option value
getStructArrayClass ( ) : string Get struct array class option value
getStructClass ( ) : string Get struct class option value
getStructsFolder ( ) : string Get structs folder option value
getSuffix ( ) : string Get suffix option value
getValidation ( ) : boolean Get validation option value
instance ( $filename = null ) : GeneratorOptions
setAddComments ( array $addComments = [] ) : GeneratorOptions Set current add comments option value
setArraysFolder ( string $arraysFolder ) : GeneratorOptions Set current arrays folder option value
setBasicLogin ( string $basicLogin ) : GeneratorOptions Set current basic login option value
setBasicPassword ( string $basicPassword ) : GeneratorOptions Set current basic password option value
setCategory ( string $category ) : GeneratorOptions Set current category option value
setComposerName ( string $composerName ) : GeneratorOptions Set current composer name option value
setDestination ( string $destination ) : GeneratorOptions Set current destination option value
setEnumsFolder ( string $enumsFolder ) : GeneratorOptions Set current enums folder option value
setGatherMethods ( string $gatherMethods ) : GeneratorOptions Set current gather methods option value
setGenerateTutorialFile ( boolean $generateTutorialFile ) : GeneratorOptions Set current generate tutorial file option value
setGenericConstantsName ( boolean $genericConstantsName ) : GeneratorOptions Set current generic constants name option value
setNamespace ( string $namespace ) : GeneratorOptions Set current namespace option value
setOptionValue ( string $optionName, $optionValue, array $values = [] ) : GeneratorOptions Allows to add an option and set its value
setOrigin ( string $origin ) : GeneratorOptions Set current origin option value
setPrefix ( string $prefix ) : GeneratorOptions Set current prefix option value
setProxyHost ( string $proxyHost ) : GeneratorOptions Set current proxy host option value
setProxyLogin ( string $proxyLogin ) : GeneratorOptions Set current proxy login option value
setProxyPassword ( string $proxyPassword ) : GeneratorOptions Set current proxy password option value
setProxyPort ( string $proxyPort ) : GeneratorOptions Set current proxy port option value
setServicesFolder ( string $servicesFolder ) : GeneratorOptions Set current services folder option value
setSoapClientClass ( string $soapClientClass ) : GeneratorOptions Set current struct array class option value
setSoapOptions ( array $soapOptions ) : GeneratorOptions Set current soap options option value
setStandalone ( boolean $standalone ) : GeneratorOptions Set current standalone option value
setStructArrayClass ( string $structArrayClass ) : GeneratorOptions Set current struct array class option value
setStructClass ( string $structClass ) : GeneratorOptions Set current struct class option value
setStructsFolder ( string $structsFolder ) : GeneratorOptions Set current structs folder option value
setSuffix ( string $suffix ) : GeneratorOptions Set current suffix option value
setValidation ( boolean $validation ) : GeneratorOptions Set current validation option value
toArray ( ) : string[]

Protected Methods

Method Description
__construct ( string $filename )
parseOptions ( string $filename ) : GeneratorOptions Parse options for generator

Method Details

__construct() protected method

protected __construct ( string $filename )
$filename string

getAddComments() public method

Get add comments option value
public getAddComments ( ) : array
return array

getArraysFolder() public method

Get arrays folder option value
public getArraysFolder ( ) : string
return string

getBasicLogin() public method

Get basic login option value
public getBasicLogin ( ) : string
return string

getBasicPassword() public method

Get basic password option value
public getBasicPassword ( ) : string
return string

getCategory() public method

Get category option value
public getCategory ( ) : string
return string

getComposerName() public method

Get composer name option value
public getComposerName ( ) : string
return string

getDefaultConfigurationPath() public static method

public static getDefaultConfigurationPath ( ) : string
return string

getDestination() public method

Get destination option value
public getDestination ( ) : string
return string

getEnumsFolder() public method

Get enums folder option value
public getEnumsFolder ( ) : string
return string

getGatherMethods() public method

Get gather methods option value
public getGatherMethods ( ) : string
return string

getGenerateTutorialFile() public method

Get generate tutorial file option value

getGenericConstantsName() public method

Get generic constants name option value

getNamespace() public method

Get namespace option value
public getNamespace ( ) : string
return string

getOptionValue() public method

Returns the option value
public getOptionValue ( string $optionName ) : mixed
$optionName string
return mixed

getOrigin() public method

Get origin option value
public getOrigin ( ) : string
return string

getPrefix() public method

Get prefix option value
public getPrefix ( ) : string
return string

getProxyHost() public method

Get basic proxy host option value
public getProxyHost ( ) : string
return string

getProxyLogin() public method

Get basic proxy login option value
public getProxyLogin ( ) : string
return string

getProxyPassword() public method

Get basic proxy password option value
public getProxyPassword ( ) : string
return string

getProxyPort() public method

Get basic proxy port option value
public getProxyPort ( ) : string
return string

getServicesFolder() public method

Get services folder option value
public getServicesFolder ( ) : string
return string

getSoapClientClass() public method

Get struct array class option value
public getSoapClientClass ( ) : string
return string

getSoapOptions() public method

Get basic soap options option value
public getSoapOptions ( ) : array
return array

getStandalone() public method

Get standalone option value
public getStandalone ( ) : boolean
return boolean

getStructArrayClass() public method

Get struct array class option value
public getStructArrayClass ( ) : string
return string

getStructClass() public method

Get struct class option value
public getStructClass ( ) : string
return string

getStructsFolder() public method

Get structs folder option value
public getStructsFolder ( ) : string
return string

getSuffix() public method

Get suffix option value
public getSuffix ( ) : string
return string

getValidation() public method

Get validation option value
public getValidation ( ) : boolean
return boolean

instance() public static method

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

parseOptions() protected method

Parse options for generator
protected parseOptions ( string $filename ) : GeneratorOptions
$filename string options's file to parse
return GeneratorOptions

setAddComments() public method

Set current add comments option value
public setAddComments ( array $addComments = [] ) : GeneratorOptions
$addComments array
return GeneratorOptions

setArraysFolder() public method

Set current arrays folder option value
public setArraysFolder ( string $arraysFolder ) : GeneratorOptions
$arraysFolder string
return GeneratorOptions

setBasicLogin() public method

Set current basic login option value
public setBasicLogin ( string $basicLogin ) : GeneratorOptions
$basicLogin string
return GeneratorOptions

setBasicPassword() public method

Set current basic password option value
public setBasicPassword ( string $basicPassword ) : GeneratorOptions
$basicPassword string
return GeneratorOptions

setCategory() public method

Set current category option value
public setCategory ( string $category ) : GeneratorOptions
$category string
return GeneratorOptions

setComposerName() public method

Set current composer name option value
public setComposerName ( string $composerName ) : GeneratorOptions
$composerName string
return GeneratorOptions

setDestination() public method

Set current destination option value
public setDestination ( string $destination ) : GeneratorOptions
$destination string
return GeneratorOptions

setEnumsFolder() public method

Set current enums folder option value
public setEnumsFolder ( string $enumsFolder ) : GeneratorOptions
$enumsFolder string
return GeneratorOptions

setGatherMethods() public method

Set current gather methods option value
public setGatherMethods ( string $gatherMethods ) : GeneratorOptions
$gatherMethods string
return GeneratorOptions

setGenerateTutorialFile() public method

Set current generate tutorial file option value
public setGenerateTutorialFile ( boolean $generateTutorialFile ) : GeneratorOptions
$generateTutorialFile boolean
return GeneratorOptions

setGenericConstantsName() public method

Set current generic constants name option value
public setGenericConstantsName ( boolean $genericConstantsName ) : GeneratorOptions
$genericConstantsName boolean
return GeneratorOptions

setNamespace() public method

Set current namespace option value
public setNamespace ( string $namespace ) : GeneratorOptions
$namespace string
return GeneratorOptions

setOptionValue() public method

Allows to add an option and set its value
public setOptionValue ( string $optionName, $optionValue, array $values = [] ) : GeneratorOptions
$optionName string
$values array
return GeneratorOptions

setOrigin() public method

Set current origin option value
public setOrigin ( string $origin ) : GeneratorOptions
$origin string
return GeneratorOptions

setPrefix() public method

Set current prefix option value
public setPrefix ( string $prefix ) : GeneratorOptions
$prefix string
return GeneratorOptions

setProxyHost() public method

Set current proxy host option value
public setProxyHost ( string $proxyHost ) : GeneratorOptions
$proxyHost string
return GeneratorOptions

setProxyLogin() public method

Set current proxy login option value
public setProxyLogin ( string $proxyLogin ) : GeneratorOptions
$proxyLogin string
return GeneratorOptions

setProxyPassword() public method

Set current proxy password option value
public setProxyPassword ( string $proxyPassword ) : GeneratorOptions
$proxyPassword string
return GeneratorOptions

setProxyPort() public method

Set current proxy port option value
public setProxyPort ( string $proxyPort ) : GeneratorOptions
$proxyPort string
return GeneratorOptions

setServicesFolder() public method

Set current services folder option value
public setServicesFolder ( string $servicesFolder ) : GeneratorOptions
$servicesFolder string
return GeneratorOptions

setSoapClientClass() public method

Set current struct array class option value
public setSoapClientClass ( string $soapClientClass ) : GeneratorOptions
$soapClientClass string
return GeneratorOptions

setSoapOptions() public method

Set current soap options option value
public setSoapOptions ( array $soapOptions ) : GeneratorOptions
$soapOptions array
return GeneratorOptions

setStandalone() public method

Set current standalone option value
public setStandalone ( boolean $standalone ) : GeneratorOptions
$standalone boolean
return GeneratorOptions

setStructArrayClass() public method

Set current struct array class option value
public setStructArrayClass ( string $structArrayClass ) : GeneratorOptions
$structArrayClass string
return GeneratorOptions

setStructClass() public method

Set current struct class option value
public setStructClass ( string $structClass ) : GeneratorOptions
$structClass string
return GeneratorOptions

setStructsFolder() public method

Set current structs folder option value
public setStructsFolder ( string $structsFolder ) : GeneratorOptions
$structsFolder string
return GeneratorOptions

setSuffix() public method

Set current suffix option value
public setSuffix ( string $suffix ) : GeneratorOptions
$suffix string
return GeneratorOptions

setValidation() public method

Set current validation option value
public setValidation ( boolean $validation ) : GeneratorOptions
$validation boolean
return GeneratorOptions

toArray() public method

public toArray ( ) : string[]
return string[]

Property Details

$options protected property

Generator's options
protected array $options
return array