| 1 | <?php |
||
| 17 | class Request extends AbstractRequest |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Request type |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | * @access protected |
||
| 24 | */ |
||
| 25 | protected $type; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get request type |
||
| 29 | * |
||
| 30 | * @access public |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | 12 | public function getType() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Set request type |
||
| 44 | * |
||
| 45 | * @access public |
||
| 46 | * @param string $type |
||
| 47 | * @return \JonnyW\PhantomJs\Http\AbstractRequest |
||
| 48 | */ |
||
| 49 | public function setType($type) |
||
| 55 | } |
||
| 56 |