1 | <?php |
||
5 | class CreateFirewallRuleCommand extends FirewallRuleCommand |
||
6 | { |
||
7 | /** |
||
8 | * Set rule name. |
||
9 | * |
||
10 | * @param string $name |
||
11 | * |
||
12 | * @return static |
||
13 | */ |
||
14 | public function identifiedAs(string $name) |
||
18 | |||
19 | /** |
||
20 | * Set rule port number. |
||
21 | * |
||
22 | * @param int $port |
||
23 | * |
||
24 | * @return static |
||
25 | */ |
||
26 | public function usingPort(int $port) |
||
30 | |||
31 | /** |
||
32 | * Set rule ip address. |
||
33 | * |
||
34 | * @param string $ipAddress |
||
35 | * |
||
36 | * @return static |
||
37 | */ |
||
38 | public function usingIp(string $ipAddress) |
||
42 | } |
||
43 |