Class RulesetParameter
Houses properties of an individual parameter definition.
Methods Summary
- __construct ( $name, array $definition )
- getName ( )
- getType ( )
- getBuiltIn ( )
- getDefault ( )
- getRequired ( )
- getDocumentation ( )
- getDeprecated ( )
-
validateInputParam ( $inputParam )
Validates that an input parameter matches the type provided in its definition.
Methods Details
__construct ( $name, array $definition )
mixed getName ( )
Returns
mixed |
mixed getType ( )
Returns
mixed |
mixed getBuiltIn ( )
Returns
mixed |
mixed getDefault ( )
Returns
mixed |
boolean getRequired ( )
Returns
boolean |
string getDocumentation ( )
Returns
string |
boolean getDeprecated ( )
Returns
boolean |
validateInputParam ( $inputParam )
Validates that an input parameter matches the type provided in its definition.
Exceptions
InvalidArgumentException |