amadeus4dev-examples / amadeus-php

PHP library for the Amadeus Self-Service APIs
https://amadeus4dev-examples.github.io/amadeus-php/
MIT License
11 stars 13 forks source link

add support for a easy way to get meta/warning/dictionaries in the response #70

Open xianqiliu opened 2 years ago

xianqiliu commented 2 years ago

since the raw response might contain meta, warning, dictionaries and so on. it would be better to provide an easy way to get these data from response, the idea would be like the following:

$response->getMeta();
$response->getDictionaries();
$response->getWarning();