WaterMelon
class WaterMelon
Fetch all information about a song, song's albums and song's artists from the melon.com API.
Traits
Factory class for creating traits.
Properties
MelonSong | $song | ||
$album | $var MelonAlbum $album Melon album. |
||
Melon[] | $artists |
Methods
__construct(int $songid)
Constructor.
parse()
To get a instance of the WaterMelon class after fetching information about a song from the melon.com API.
getAlbum()
Getter to get a information about a album.
array
getArtists()
Getter to get a information about artists.
Details
at line 36
__construct(int $songid)
Constructor.
at line 52
WaterMelon
parse()
To get a instance of the WaterMelon class after fetching information about a song from the melon.com API.
at line 69
MelonSong
getSong()
Getter to get a information about a song.
at line 79
MelonAlbum
getAlbum()
Getter to get a information about a album.
at line 91
array
getArtists()
Getter to get a information about artists.