ResourceInterface
interface ResourceInterface
Represents an API resource.
Methods
populateFromResponse
(ResponseInterface $response)
: ResourceInterface
All models which represent an API resource should be able to be populated from a {see ResponseInterface} object.
populateFromArray
(array $data)
: mixed
No description
model
(string $class, $data = null)
: ResourceInterface
No description