Version()
Validates version numbers using Semantic Versioning.
v::version()->assert('1.0.0');
// Validation passes successfully| 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 |