Version()
Validates version numbers using Semantic Versioning.
v::version()->isValid('1.0.0');| Mode | Template |
|---|---|
default |
{{subject}} must be a version |
inverted |
{{subject}} must not be a version |
| Placeholder | Description |
|---|---|
subject |
The validated input or the custom validator name (if specified). |
- Strings
| Version | Description |
|---|---|
| 0.3.9 | Created |
See also: