respect-validation/docs/rules/MacAddress.md

29 lines
410 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# MacAddress
- `MacAddress()`
2015-01-30 09:40:06 +01:00
Validates whether the input is a valid MAC address.
2015-01-30 09:40:06 +01:00
```php
v::macAddress()->validate('00:11:22:33:44:55'); // true
v::macAddress()->validate('af-AA-22-33-44-55'); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- Identifications
## Changelog
Version | Description
--------|-------------
0.3.9 | Created
***
See also:
- [Domain](Domain.md)
- [Iban](Iban.md)
- [Ip](Ip.md)
- [Tld](Tld.md)