1 | <?php |
||
11 | class LastFm implements ProviderInterface |
||
12 | { |
||
13 | /** @var array */ |
||
14 | protected $config; |
||
15 | |||
16 | /** @inheritDoc */ |
||
17 | public function __construct(array $config) |
||
21 | |||
22 | /** @inheritDoc */ |
||
23 | public function getConfig() : array |
||
27 | |||
28 | /** @inheritDoc */ |
||
29 | public function setConfig(array $config) : void |
||
33 | |||
34 | /** |
||
35 | * Setter for API Key (Provider Specific Method) |
||
36 | * |
||
37 | * @param string $apiKey |
||
38 | * @return void |
||
39 | */ |
||
40 | public function setApiKey(string $apiKey) : void |
||
44 | |||
45 | /** |
||
46 | * Getter for API Key (Provider Specific Method) |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function getApiKey() : string |
||
54 | |||
55 | /** @inheritDoc */ |
||
56 | public function getVersion() : string |
||
60 | |||
61 | /** @inheritDoc */ |
||
62 | public function getProviderName() : string |
||
66 | |||
67 | /** @inheritDoc */ |
||
68 | public function getResource() : ResourceInterface |
||
72 | } |