1 | <?php |
||
8 | class Host |
||
9 | { |
||
10 | protected $host; |
||
11 | protected $pinger; |
||
12 | protected $ping = 0; |
||
13 | protected $statusCode = 0; |
||
14 | |||
15 | public function __construct($host) |
||
20 | |||
21 | /** |
||
22 | * Checks the ping of the host |
||
23 | * @return [type] [description] |
||
|
|||
24 | */ |
||
25 | public function ping(){ |
||
29 | |||
30 | /** |
||
31 | * Checks the status of the host |
||
32 | * @return [type] [description] |
||
33 | */ |
||
34 | public function status(){ |
||
40 | |||
41 | /** |
||
42 | * Sets the value of pinger. |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function setPinger(Ping $pinger) |
||
50 | |||
51 | /** |
||
52 | * Gets the value of host. |
||
53 | * |
||
54 | * @return mixed |
||
55 | */ |
||
56 | public function getHost() |
||
60 | |||
61 | /** |
||
62 | * Gets the value of ping. |
||
63 | * |
||
64 | * @return mixed |
||
65 | */ |
||
66 | public function getPing() |
||
70 | |||
71 | /** |
||
72 | * Gets the value of statusCode. |
||
73 | * |
||
74 | * @return mixed |
||
75 | */ |
||
76 | public function getStatusCode() |
||
80 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.