ItemTypeRule
class ItemTypeRule extends AbstractRule (View source)
Methods
name()
No description
testConditions(string $parameterName, $value, bool $itemType = false)
No description
exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)
No description
getItemSanityCheck(string $itemName)
The second case which used PHP native functions is voluntarily limited by the native functions provided by PHP, and the possible types defined in xsd_types.yml.
Details
at line 11
name()
at line 16
testConditions(string $parameterName, $value, bool $itemType = false)
at line 21
exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)
at line 30
protected
getItemSanityCheck(string $itemName)
The second case which used PHP native functions is voluntarily limited by the native functions provided by PHP, and the possible types defined in xsd_types.yml.