| 1 | <?php |
||
| 16 | class HttpClientFactory implements FactoryInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $uri; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var \Marek\Toggable\API\Security\TokenInterface |
||
| 25 | */ |
||
| 26 | private $token; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * HttpClientFactory constructor. |
||
| 30 | * |
||
| 31 | * @param array $config |
||
| 32 | * @param \Marek\Toggable\API\Security\TokenInterface $token |
||
| 33 | */ |
||
| 34 | public function __construct($config, TokenInterface $token) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @inheritDoc |
||
| 46 | */ |
||
| 47 | public function build() |
||
| 55 | } |
||
| 56 |