Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class Resource implements ResourceInterface |
||
10 | { |
||
11 | /** @var ProviderInterface */ |
||
12 | private $provider; |
||
13 | |||
14 | /** @var HttpInterface */ |
||
15 | private $http; |
||
16 | |||
17 | /** |
||
18 | * Constructor |
||
19 | * |
||
20 | * @param ProviderInterface $provider |
||
21 | * @param HttpInterface $http |
||
22 | */ |
||
23 | 2 | public function __construct( |
|
29 | 2 | } |
|
30 | |||
31 | /** |
||
32 | * Returns back an instance of LastFM Geo Resource |
||
33 | * |
||
34 | * @return GeoInterface |
||
35 | */ |
||
36 | 1 | public function geo() : GeoInterface |
|
39 | } |
||
40 | } |