BaseResource
class BaseResource implements ResourceInterface
Methods
__construct(array $data)
Resources in this SDK should not be built using $new Class()
.
asLink()
{@inheritdoc}
getId()
{@inheritdoc}
getType()
{@inheritdoc}
Details
at line 26
protected
__construct(array $data)
Resources in this SDK should not be built using $new Class()
.
This method is only useful in testing environments, where the resource needs to be subclasses and this method made public.
at line 38
asLink()
{@inheritdoc}
at line 49
getId()
{@inheritdoc}
at line 57
getType()
{@inheritdoc}