1 | <?php |
||
8 | class Host |
||
9 | { |
||
10 | protected $host; |
||
11 | protected $pinger; |
||
12 | protected $ping; |
||
13 | protected $statusCode; |
||
14 | |||
15 | 3 | 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 | /** |
||
43 | * Gets the value of host. |
||
44 | * |
||
45 | * @return mixed |
||
46 | */ |
||
47 | public function getHost() |
||
51 | |||
52 | /** |
||
53 | * Sets the value of host. |
||
54 | * |
||
55 | * @param mixed $host the host |
||
56 | * |
||
57 | * @return self |
||
58 | */ |
||
59 | protected function setHost($host) |
||
65 | |||
66 | /** |
||
67 | * Gets the value of pinger. |
||
68 | * |
||
69 | * @return mixed |
||
70 | */ |
||
71 | public function getPinger() |
||
75 | |||
76 | /** |
||
77 | * Sets the value of pinger. |
||
78 | * |
||
79 | * @param mixed $pinger the pinger |
||
80 | * |
||
81 | * @return self |
||
82 | */ |
||
83 | protected function setPinger(Ping $pinger) |
||
89 | |||
90 | /** |
||
91 | * Gets the value of ping. |
||
92 | * |
||
93 | * @return mixed |
||
94 | */ |
||
95 | public function getPing() |
||
99 | |||
100 | /** |
||
101 | * Gets the value of statusCode. |
||
102 | * |
||
103 | * @return mixed |
||
104 | */ |
||
105 | public function getStatusCode() |
||
109 | } |
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.