| 1 | <?php |
||
| 8 | class UrlInfo |
||
| 9 | { |
||
| 10 | protected $name; |
||
| 11 | protected $url; |
||
| 12 | protected $timeout; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Constructor. |
||
| 16 | * @param string $name |
||
| 17 | * @param string $url |
||
| 18 | * @param integer $timeout |
||
| 19 | */ |
||
| 20 | public function __construct($name, $url, $timeout) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * getName. |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getName() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * getUrl. |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getUrl() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * getTimeOut. |
||
| 47 | * @return integer |
||
| 48 | */ |
||
| 49 | public function getTimeOut() |
||
| 53 | } |
||
| 54 |