2c448c7bfb
- Use the service class - Use object interfaces - Add support for nftables
12 lines
303 B
PHP
12 lines
303 B
PHP
<?php
|
|
|
|
/**
|
|
* event_guard_interface class
|
|
*
|
|
*/
|
|
interface event_guard_interface {
|
|
public function block_add(string $ip_address, string $filter) : bool;
|
|
public function block_delete(string $ip_address, string $filter) : bool;
|
|
public function block_exists(string $ip_address, string $filter) : bool;
|
|
}
|