Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function check($entry)
 {
     return IPV6Range::check($entry) && AbstractIP::check($entry);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public static function match($entry)
 {
     $matchRegex = sprintf(self::$regexModel, self::$digitRegex);
     return (bool) (preg_match($matchRegex, trim($entry)) && parent::match(trim($entry)));
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public static function match($entry)
 {
     return (bool) (!IPV4::match(trim($entry)) && AbstractIP::match(trim($entry)));
 }