PHP Class IsoCodes\Mac

Author: Sullivan Senechal ([email protected])
Inheritance: implements isocodes\IsoCodeInterface
Afficher le fichier Open project: ronanguilloux/isocodes Class Usage Examples

Méthodes publiques

Méthode Description
validate ( string $mac ) : boolean MAC address validator.

Method Details

validate() public static méthode

Could be separated by hyphens or colons. Could be both lowercase or uppercase letters. Mixed upper/lower cases and hyphens/colons are not allowed.
public static validate ( string $mac ) : boolean
$mac string
Résultat boolean