| Total Complexity | 5 | 
| Total Lines | 39 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 15 | class MessariClient  | 
            ||
| 16 | { | 
            ||
| 17 | const BASE_URI = 'https://data.messari.io/api/v1';  | 
            ||
| 18 | |||
| 19 | /** @var BaseClientInterface */  | 
            ||
| 20 | private $baseClient;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * MessariClient constructor.  | 
            ||
| 24 | * @param BaseClientInterface|null $baseClient  | 
            ||
| 25 | */  | 
            ||
| 26 | 11 | public function __construct(?BaseClientInterface $baseClient = null)  | 
            |
| 30 | 11 | }  | 
            |
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @return BaseClientInterface  | 
            ||
| 34 | */  | 
            ||
| 35 | 10 | public function getBaseClient(): BaseClientInterface  | 
            |
| 38 | }  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * @return Api  | 
            ||
| 42 | */  | 
            ||
| 43 | 1 | public function api(): Api  | 
            |
| 44 |     { | 
            ||
| 45 | 1 | return new Api($this);  | 
            |
| 46 | }  | 
            ||
| 47 | |||
| 48 | /**  | 
            ||
| 49 | * @return string  | 
            ||
| 50 | */  | 
            ||
| 51 | 11 | private function getBaseUri(): string  | 
            |
| 54 | }  | 
            ||
| 55 | }  | 
            ||
| 56 |