| Total Complexity | 7 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class Blockchain{ |
||
| 13 | |||
| 14 | protected $client; |
||
| 15 | protected $params; |
||
| 16 | public $HD = false; |
||
| 17 | const GET = 'GET'; |
||
| 18 | const POST = 'POST'; |
||
| 19 | |||
| 20 | public function __construct($config){ |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return Create |
||
| 27 | */ |
||
| 28 | public function Create(){ |
||
| 29 | return new Create($this); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return Wallet |
||
| 34 | */ |
||
| 35 | public function Wallet(){ |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return Receive |
||
| 41 | */ |
||
| 42 | public function Receive(){ |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param $base_uri string Default : http://localhost:3000 |
||
| 48 | */ |
||
| 49 | |||
| 50 | public function newBaseUri($base_uri){ |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param $method |
||
| 56 | * @param $url |
||
| 57 | * @param $params |
||
| 58 | * @return array |
||
| 59 | */ |
||
| 60 | |||
| 61 | public function Request($method, $url, $params){ |
||
| 78 |