1 | <?php |
||
5 | class NetworkFactory |
||
6 | { |
||
7 | /** |
||
8 | * @return NetworkInterface |
||
9 | * @throws \Exception |
||
10 | */ |
||
11 | public static function bitcoin() |
||
15 | 134 | ||
16 | /** |
||
17 | 134 | * @return NetworkInterface |
|
18 | * @throws \Exception |
||
19 | */ |
||
20 | public static function bitcoinTestnet() |
||
24 | 94 | ||
25 | /** |
||
26 | 94 | * @return NetworkInterface |
|
27 | 94 | * @throws \Exception |
|
28 | 94 | */ |
|
29 | 94 | public static function bitcoinRegtest() |
|
33 | 94 | ||
34 | /** |
||
35 | * @return Networks\Litecoin |
||
36 | */ |
||
37 | public static function litecoin() |
||
41 | |||
42 | 32 | /** |
|
43 | 32 | * @return Networks\LitecoinTestnet |
|
44 | 32 | */ |
|
45 | 32 | public static function litecoinTestnet() |
|
49 | 32 | ||
50 | /** |
||
51 | * @return Networks\Viacoin |
||
52 | */ |
||
53 | public static function viacoin() |
||
57 | |||
58 | 2 | /** |
|
59 | 2 | * @return Networks\ViacoinTestnet |
|
60 | 2 | */ |
|
61 | 2 | public static function viacoinTestnet() |
|
65 | 2 | ||
66 | /** |
||
67 | * @return Networks\Dogecoin |
||
68 | */ |
||
69 | public static function dogecoin() |
||
73 | |||
74 | /** |
||
75 | * @return Networks\DogecoinTestnet |
||
76 | */ |
||
77 | public static function dogecoinTestnet() |
||
81 | |||
82 | /** |
||
83 | * @return Networks\Dash |
||
84 | */ |
||
85 | 2 | public static function dash() |
|
89 | 2 | ||
90 | 2 | /** |
|
91 | * @return Networks\DashTestnet |
||
92 | 2 | */ |
|
93 | public static function dashTestnet() |
||
97 | } |
||
98 |