A

AlbumNullResourceClass in namespace Cable8mm\WaterMelon\Resources

Album resource with null for mapping from melon.com.

AlbumResourceClass in namespace Cable8mm\WaterMelon\Resources

Album resource for mapping from melon.com.

ArtistNullResourceClass in namespace Cable8mm\WaterMelon\Resources

Artist resource with null for mapping from melon.com.

ArtistResourceClass in namespace Cable8mm\WaterMelon\Resources

Artist resource for mapping from melon.com.

$ WaterMelon#albumProperty in class WaterMelon

$var MelonAlbum $album Melon album.

$ WaterMelon#artistsProperty in class WaterMelon

C

$ Resource#containerProperty in class Resource

E

Resource::emptyToNull() — Method in class Resource

Infer the default image for Melon as null

G

WaterMelon::getSong() — Method in class WaterMelon

Getter to get a information about a song.

WaterMelon::getAlbum() — Method in class WaterMelon

Getter to get a information about a album.

WaterMelon::getArtists() — Method in class WaterMelon

Getter to get a information about artists.

I

$ Melon#idProperty in class Melon

M

MelonClass in namespace Cable8mm\WaterMelon

Abstract class for WaterMelon classes.

Melon::make() — Method in class Melon

Class factory to make Melon instance.

MelonAlbumClass in namespace Cable8mm\WaterMelon

Fetches information about a album from the melon.com API.

MelonArtistClass in namespace Cable8mm\WaterMelon

Fetches information about a artist from the melon.com API.

MelonSongClass in namespace Cable8mm\WaterMelon

Fetches information about a song from the melon.com API.

AlbumNullResource::make() — Method in class AlbumNullResource

Create a new AlbumNullResource instance.

AlbumResource::make() — Method in class AlbumResource

Create a new AlbumResource instance.

ArtistNullResource::make() — Method in class ArtistNullResource

Create a new ArtistNullResource instance.

ArtistResource::make() — Method in class ArtistResource

Create a new ArtistResource instance.

$ Resource#melonProperty in class Resource
SongNullResource::make() — Method in class SongNullResource

Create a new SongNullResource instance.

SongResource::make() — Method in class SongResource

Create a new SongResource instance.

MakeableClass in namespace Cable8mm\WaterMelon\Traits

Factory class for creating traits.

Makeable::make() — Method in class Makeable

Create a new instance.

O

Melon::offsetSet() — Method in class Melon

Setter for ArrayAccess.

Melon::offsetExists() — Method in class Melon

Whether an offset exists

Melon::offsetUnset() — Method in class Melon

Unset an offset

Melon::offsetGet() — Method in class Melon

Offset to retrieve

Resource::offsetSet() — Method in class Resource

ArrayAccess implementation.

Resource::offsetExists() — Method in class Resource

ArrayAccess implementation.

Resource::offsetUnset() — Method in class Resource

ArrayAccess implementation.

Resource::offsetGet() — Method in class Resource

ArrayAccess implementation.

P

Melon::parse() — Method in class Melon

Fetches information about a song, a album or a artist from the melon.com API and saves it to $response and returns it.

MelonAlbum::parse() — Method in class MelonAlbum

Fetches information about a song, a album or a artist from the melon.com API and saves it to $response and returns it.

MelonArtist::parse() — Method in class MelonArtist

Fetches information about a song, a album or a artist from the melon.com API and saves it to $response and returns it.

MelonSong::parse() — Method in class MelonSong

Fetches information about a song, a album or a artist from the melon.com API and saves it to $response and returns it.

WaterMelon::parse() — Method in class WaterMelon

To get a instance of the WaterMelon class after fetching information about a song from the melon.com API.

R

$ Melon#responseProperty in class Melon
ResourceClass in namespace Cable8mm\WaterMelon\Resources

Resource class for general melon resources.

S

SongNullResourceClass in namespace Cable8mm\WaterMelon\Resources

Song resource with null for mapping from melon.com.

SongResourceClass in namespace Cable8mm\WaterMelon\Resources

Song resource for mapping from melon.com.

$ WaterMelon#songProperty in class WaterMelon

T

AlbumNullResource::toArray() — Method in class AlbumNullResource

To get resource as array.

AlbumResource::toArray() — Method in class AlbumResource

To get resource as array.

ArtistNullResource::toArray() — Method in class ArtistNullResource

To get resource as array.

ArtistResource::toArray() — Method in class ArtistResource

To get resource as array.

Resource::toArray() — Method in class Resource

To get resource as array.

SongNullResource::toArray() — Method in class SongNullResource

To get resource as array.

SongResource::toArray() — Method in class SongResource

To get resource as array.

W

WaterMelonClass in namespace Cable8mm\WaterMelon

Fetch all information about a song, song's albums and song's artists from the melon.com API.

_

Melon::__construct() — Method in class Melon

Class constructor.

Resource::__construct() — Method in class Resource
Constructor.
Resource::__get() — Method in class Resource

Reading data from inaccessible (protected or private) or non-existing properties.

WaterMelon::__construct() — Method in class WaterMelon
Constructor.