| 1 | <?php |
||
| 9 | class SlackCommandResponder |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | private $commandConfig; |
||
| 15 | /** |
||
| 16 | * @var Request |
||
| 17 | */ |
||
| 18 | private $request; |
||
| 19 | |||
| 20 | public function __construct(array $commandConfig, Request $request) |
||
| 26 | |||
| 27 | public function getResponse() { |
||
| 37 | |||
| 38 | protected function guardAgainstInvalidRequest() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return mixed |
||
| 51 | */ |
||
| 52 | protected function determineResponseHandler() |
||
| 67 | } |