1 | <?php |
||
8 | class UrlInfo |
||
9 | { |
||
10 | protected $name; |
||
11 | protected $url; |
||
12 | protected $timeout; |
||
13 | protected $expectedStatus; |
||
14 | |||
15 | /** |
||
16 | * Constructor. |
||
17 | * |
||
18 | * @param string $name |
||
19 | * @param string $url |
||
20 | * @param int $timeout |
||
21 | * @param int $expectedStatus |
||
22 | */ |
||
23 | public function __construct($name, $url, $timeout, $expectedStatus) |
||
30 | |||
31 | /** |
||
32 | * getName. |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getName() |
||
40 | |||
41 | /** |
||
42 | * getUrl. |
||
43 | * |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getUrl() |
||
50 | |||
51 | /** |
||
52 | * getTimeOut. |
||
53 | * |
||
54 | * @return int |
||
55 | */ |
||
56 | public function getTimeOut() |
||
60 | |||
61 | /** |
||
62 | * getTimeOut. |
||
63 | * |
||
64 | * @return int |
||
65 | */ |
||
66 | public function getExpectedStatus() |
||
70 | } |
||
71 |