| 1 | <?php namespace Phabricator\Request; |
||
| 3 | class RequestData { |
||
| 4 | |||
| 5 | /** |
||
| 6 | * Raw data passed to API |
||
| 7 | * |
||
| 8 | * @type array |
||
| 9 | */ |
||
| 10 | protected $rawData; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * API token |
||
| 14 | * |
||
| 15 | * @type string |
||
| 16 | */ |
||
| 17 | protected $token; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The wanted output format |
||
| 21 | * |
||
| 22 | * @type string |
||
| 23 | */ |
||
| 24 | protected $output; |
||
| 25 | |||
| 26 | 2 | public function __construct(array $rawParams, $authToken, $output = 'json') { |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritDoc} |
||
| 34 | */ |
||
| 35 | 1 | public function getResult() { |
|
| 38 | |||
| 39 | 1 | protected function process() { |
|
| 53 | |||
| 54 | 2 | protected function mergeConduitMetaData($rawData, $token) { |
|
| 69 | |||
| 70 | } |