Skip to content

Remote API client resource deserialisation #170

@Robindfuller

Description

@Robindfuller

How do I deserialise the response from

$client->read('posts', '1')->getDocument()->getResource();

...in to a Plain Old PHP Object including included relationships?

Same with

$client->index('posts');

I have my Entity classes and Hydrators for my entities but no idea how to implement it. Without the ability to deserialise, I might just as well use json_decode() on my guzzle client response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions