Sets validator options
Parameters: | integer|array|Traversable – |
---|
Sets the min option
Parameters: | integer – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | StringLength Provides a fluent interface |
Sets the max option
Parameters: | integer|null – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | StringLength Provides a fluent interface |
Get the string wrapper to detect the string length
Return type: | StringWrapper |
---|
Set the string wrapper to detect the string length
Parameters: | StringWrapper – |
---|---|
Return type: | StringLength |