Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$response = $aboutmeApi->get();
$response->getPage(); // returns `Aboutme_Page` created from API response JSON
// no API consumer needs to know about AboutMe's API structure, only your own implemented methods.
$page->getFirstName();
$page->getBio();
// in testing
$page = Aboutme_Page::createFromResponse($yourfixture);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.