| 1 | <?php |
||
| 7 | class BaseInvoker |
||
| 8 | { |
||
| 9 | use HasSubInvoker; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $providers = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $responseType; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | protected function getResponseType() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $responseType |
||
| 31 | */ |
||
| 32 | protected function setResponseType($responseType) |
||
| 36 | |||
| 37 | public function __construct($username, $password, $token, $responseType = 'array') |
||
| 44 | } |
||
| 45 |