validate() public static method

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
return boolean
Example #1
0
 /**
  * @dataProvider getInvalidMacAddresses
  *
  * @param string $mac
  */
 public function testInvalidMacAddress($mac)
 {
     $this->assertFalse(Mac::validate($mac));
 }