AlbumResource
class AlbumResource extends Resource
Album resource for mapping from melon.com.
Properties
Melon | $melon | from Resource | |
protected array | $container | from Resource |
Methods
array
toArray()
To get resource as array.
mixed
__get(mixed $name)
Reading data from inaccessible (protected or private) or non-existing properties.
from
Resource
static string|null
emptyToNull(string|null $path)
Infer the default image for Melon as null
from
Resource
static AlbumResource
Details
at line 21
array
toArray()
To get resource as array.
in
Resource at line 41
mixed
__get(mixed $name)
Reading data from inaccessible (protected or private) or non-existing properties.
in
Resource at line 49
void
offsetSet(mixed $offset, mixed $value)
ArrayAccess implementation.
in
Resource at line 61
bool
offsetExists(mixed $offset)
ArrayAccess implementation.
in
Resource at line 69
void
offsetUnset(mixed $offset)
ArrayAccess implementation.
in
Resource at line 77
mixed
offsetGet(mixed $offset)
ArrayAccess implementation.
in
Resource at line 90
static string|null
emptyToNull(string|null $path)
Infer the default image for Melon as null
at line 44
static AlbumResource
make(MelonAlbum $melonAlbum)
Create a new AlbumResource instance.