1 | <?php |
||
21 | class Shieldfy implements FirewallInterface |
||
22 | { |
||
23 | /** |
||
24 | * returns the name of the firewall. |
||
25 | * |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getName() |
||
32 | |||
33 | /** |
||
34 | * detects whether the provided headers and body string does match the firewall identification rules or not. |
||
35 | * |
||
36 | * @param string[] $headers |
||
37 | * @param string $bodyString |
||
38 | * @param string $url |
||
39 | * |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function detect(array $headers, $bodyString, $url) |
||
46 | } |
||
47 |