메소드 | 설명 | |
---|---|---|
blockAddress ( string $address ) : Kraken\Network\Socket\Component\Firewall\SocketFirewallInterface | Add an address to the blacklist that will not be allowed to connect to your application. | |
getBlockedAddresses ( ) : string[] | Get an array of all the addresses blocked. | |
isAddressBlocked ( string $address ) : boolean | Check if given $address is blocked or not. | |
unblockAddress ( string $address ) : Kraken\Network\Socket\Component\Firewall\SocketFirewallInterface | Unblock an address so they can access your application again. |
public blockAddress ( string $address ) : Kraken\Network\Socket\Component\Firewall\SocketFirewallInterface | ||
$address | string | |
리턴 | Kraken\Network\Socket\Component\Firewall\SocketFirewallInterface |
public getBlockedAddresses ( ) : string[] | ||
리턴 | string[] |
public isAddressBlocked ( string $address ) : boolean | ||
$address | string | |
리턴 | boolean |
public unblockAddress ( string $address ) : Kraken\Network\Socket\Component\Firewall\SocketFirewallInterface | ||
$address | string | |
리턴 | Kraken\Network\Socket\Component\Firewall\SocketFirewallInterface |