1 | <?php |
||
7 | class GatewayFactory |
||
8 | { |
||
9 | /** |
||
10 | * Create an instance of the specified market driver. |
||
11 | * |
||
12 | * @param string $abstract |
||
13 | * @param array $options |
||
14 | * @return \CryptoMarkets\Common\Gateway |
||
15 | * |
||
16 | * @throws \InvalidArgumentException |
||
17 | */ |
||
18 | public function create($abstract, array $options = []) |
||
28 | |||
29 | /** |
||
30 | * Get the concrete type for a given abstract. |
||
31 | * |
||
32 | * @param string $abstract |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getConcrete($abstract) |
||
49 | } |
||
50 |