BlockedIp
extends Model
in package
uses
HasFactory, SoftDeletes
Table of Contents
Properties
- $fillable : mixed
Methods
- isIpBlocked() : bool
Properties
$fillable
protected
mixed
$fillable
= ['ip_pattern', 'reason']
Methods
isIpBlocked()
public
static isIpBlocked(string $ip) : bool
Parameters
- $ip : string