PHP Class WsdlToPhp\PackageGenerator\File\Validation\Rules

Datei anzeigen Open project: wsdltophp/packagegenerator Class Usage Examples

Public Methods

Method Description
__construct ( AbstractModelFile $file, WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute )
applyRules ( string $parameterName, boolean $itemType = false )
getArrayRule ( ) : ArrayRule
getAttribute ( ) : StructAttribute
getEnumerationRule ( ) : EnumerationRule
getFile ( ) : AbstractModelFile
getItemTypeRule ( ) : ItemTypeRule
getMethod ( ) : WsdlToPhp\PhpGenerator\Element\PhpMethod
setAttribute ( StructAttribute $attribute ) : Rules
setFile ( AbstractModelFile $file ) : Rules
setMethod ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Rules

Protected Methods

Method Description
getRule ( string $metaName ) : AbstractRule

Method Details

__construct() public method

public __construct ( AbstractModelFile $file, WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute )
$file WsdlToPhp\PackageGenerator\File\AbstractModelFile
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute

applyRules() public method

public applyRules ( string $parameterName, boolean $itemType = false )
$parameterName string
$itemType boolean

getArrayRule() public method

public getArrayRule ( ) : ArrayRule
return ArrayRule

getAttribute() public method

public getAttribute ( ) : StructAttribute
return WsdlToPhp\PackageGenerator\Model\StructAttribute

getEnumerationRule() public method

public getEnumerationRule ( ) : EnumerationRule
return EnumerationRule

getFile() public method

public getFile ( ) : AbstractModelFile
return WsdlToPhp\PackageGenerator\File\AbstractModelFile

getItemTypeRule() public method

public getItemTypeRule ( ) : ItemTypeRule
return ItemTypeRule

getMethod() public method

public getMethod ( ) : WsdlToPhp\PhpGenerator\Element\PhpMethod
return WsdlToPhp\PhpGenerator\Element\PhpMethod

getRule() protected method

protected getRule ( string $metaName ) : AbstractRule
$metaName string
return AbstractRule

setAttribute() public method

public setAttribute ( StructAttribute $attribute ) : Rules
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
return Rules

setFile() public method

public setFile ( AbstractModelFile $file ) : Rules
$file WsdlToPhp\PackageGenerator\File\AbstractModelFile
return Rules

setMethod() public method

public setMethod ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Rules
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
return Rules