| 1 | <?php declare(strict_types=1); |
||
| 21 | class GuzzleClientBuilder implements ClientBuilderInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $config = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param array $config |
||
| 30 | */ |
||
| 31 | 7 | public function __construct(array $config = []) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * This method MUST return a \FeedIo\Adapter\ClientInterface instance |
||
| 38 | * @return \FeedIo\Adapter\ClientInterface |
||
| 39 | */ |
||
| 40 | 3 | public function getClient() : ClientInterface |
|
| 44 | |||
| 45 | /** |
||
| 46 | * This method MUST return the name of the main class |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | 1 | public function getMainClassName() : string |
|
| 53 | |||
| 54 | /** |
||
| 55 | * This method MUST return the name of the package name |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | 1 | public function getPackageName() : string |
|
| 62 | } |
||
| 63 |