1 | <?php |
||
9 | class SpotifyResourceOwner implements ResourceOwnerInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $data; |
||
15 | |||
16 | public function __construct(array $response) |
||
20 | |||
21 | 3 | public function getBirthDate(): ?string |
|
25 | |||
26 | 2 | public function getCountry(): ?string |
|
30 | |||
31 | 2 | public function getDisplayName(): string |
|
35 | |||
36 | 2 | public function getEmail(): ?string |
|
40 | |||
41 | 2 | public function getExternalUrls(): array |
|
45 | |||
46 | 2 | public function getFollowers(): array |
|
50 | |||
51 | 2 | public function getHref(): string |
|
55 | |||
56 | 2 | public function getId(): string |
|
60 | |||
61 | 2 | public function getImages(): array |
|
65 | |||
66 | 2 | public function getProduct(): ?string |
|
70 | |||
71 | 2 | public function getType(): string |
|
75 | |||
76 | 2 | public function getUri(): string |
|
80 | |||
81 | 2 | /** |
|
82 | * Return all of the owner details available as an array. |
||
83 | */ |
||
84 | public function toArray(): array |
||
88 | } |
||
89 |