PHP Class WsdlToPhp\PackageGenerator\File\Validation\ItemTypeRule

Inheritance: extends AbstractRule
Afficher le fichier Open project: wsdltophp/packagegenerator

Méthodes publiques

Méthode Description
applyRule ( string $parameterName, mixed $value, boolean $itemType = false ) : ItemTypeRule

Méthodes protégées

Méthode Description
getItemSanityCheck ( StructAttribute $attribute, string $itemName ) : string The second case which used PHP native functions is volontary limited by the native functions provided by PHP, and the possible types defined in xsd_types.yml

Method Details

applyRule() public méthode

See also: WsdlToPhp\PackageGenerator\File\Validation\AbstractValidation::addRule()
public applyRule ( string $parameterName, mixed $value, boolean $itemType = false ) : ItemTypeRule
$parameterName string
$value mixed
$itemType boolean
Résultat ItemTypeRule

getItemSanityCheck() protected méthode

The second case which used PHP native functions is volontary limited by the native functions provided by PHP, and the possible types defined in xsd_types.yml
protected getItemSanityCheck ( StructAttribute $attribute, string $itemName ) : string
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$itemName string
Résultat string