1 | <?php |
||
17 | class ClientFactory implements LoggerAwareInterface { |
||
18 | |||
19 | private $client; |
||
20 | private $logger; |
||
21 | |||
22 | public function __construct() { |
||
25 | |||
26 | /** |
||
27 | * @since 2.1.0 |
||
28 | * |
||
29 | * @return Client |
||
30 | */ |
||
31 | public function getClient() { |
||
37 | |||
38 | /** |
||
39 | * @return Client |
||
40 | */ |
||
41 | private function newClient() { |
||
54 | |||
55 | /** |
||
56 | * Sets a logger instance on the object |
||
57 | * |
||
58 | * @since 2.1.0 |
||
59 | * |
||
60 | * @param LoggerInterface $logger |
||
61 | * |
||
62 | * @return null |
||
63 | */ |
||
64 | public function setLogger( LoggerInterface $logger ) { |
||
67 | |||
68 | } |
||
69 |