| 1 | <?php |
||
| 10 | class Configuration |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ClientInterface |
||
| 14 | */ |
||
| 15 | private $guzzle; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $baseUri; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var AuthenticationInterface |
||
| 24 | */ |
||
| 25 | private $authentication; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var FormatInterface |
||
| 29 | */ |
||
| 30 | private $format; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param ClientInterface $guzzle |
||
| 34 | * @param string $baseUri |
||
| 35 | * @param AuthenticationInterface $authentication |
||
| 36 | * @param FormatInterface $format |
||
| 37 | */ |
||
| 38 | public function __construct( |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return ClientInterface |
||
| 52 | */ |
||
| 53 | public function getGuzzle(): ClientInterface |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | public function getBaseUri(): string |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return AuthenticationInterface |
||
| 68 | */ |
||
| 69 | public function getAuthentication(): AuthenticationInterface |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return FormatInterface |
||
| 76 | */ |
||
| 77 | public function getFormat(): FormatInterface |
||
| 81 | } |
||
| 82 |