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