protected isInternalIPAllowed ( string $ip ) : boolean | ||
$ip | string | |
return | boolean |
protected function isInternalIPAllowed($ip)
{
$allowedIps = array_fill_keys($this->getInternalAllowedIPs(), true);
if (!isset($allowedIps[$ip])) {
return false;
}
return true;
}