Skip to content

Instantly share code, notes, and snippets.

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.
// 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.