| 1 | <?php |
||
| 13 | class AnswersOfIdsHandler |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The data transformer. |
||
| 17 | * |
||
| 18 | * @var ResponseAnswerDataTransformer |
||
| 19 | */ |
||
| 20 | private $dataTransformer; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The HTTP domain class. |
||
| 24 | * |
||
| 25 | * @var Http |
||
| 26 | */ |
||
| 27 | private $http; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Constructor. |
||
| 31 | * |
||
| 32 | * @param Http $http The HTTP domain class |
||
| 33 | * @param ResponseAnswerDataTransformer $dataTransformer The answer data transformer |
||
| 34 | */ |
||
| 35 | public function __construct(Http $http, ResponseAnswerDataTransformer $dataTransformer) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get answers identified by a set of ids. |
||
| 43 | * |
||
| 44 | * More info: http://api.stackexchange.com/docs/answers-by-ids |
||
| 45 | * |
||
| 46 | * @param AnswersOfIdsCommand $command The command |
||
| 47 | * |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | public function handle(AnswersOfIdsCommand $command) |
||
| 60 | } |
||
| 61 |