Skip to content

Added support in MapQuestProvider for licensed endpoints #318 #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2014
Merged

Added support in MapQuestProvider for licensed endpoints #318 #319

merged 1 commit into from
Jul 4, 2014

Conversation

jasonbouffard
Copy link

Added an optional constructor parameter to access the MapQuest licensed endpoints.

Discussion in #318.

*/
public function __construct(HttpAdapterInterface $adapter, $apiKey, $locale = null)
public function __construct(HttpAdapterInterface $adapter, $apiKey, $licensed = false, $locale = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think $licensed = false should be the last parameter in the constructor :)

@toin0u
Copy link
Member

toin0u commented Jul 3, 2014

👍 Can you update the doc too ?

@toin0u
Copy link
Member

toin0u commented Jul 3, 2014

I think it's safe to merge this :)

@willdurand
Copy link
Member

@jpb0104 could you please squash your commits?

@toin0u really? it looks good to me, but tests are failing..

@toin0u
Copy link
Member

toin0u commented Jul 4, 2014

@willdurand Tests are failling because of this https://github.com/geocoder-php/Geocoder/blob/master/tests/Geocoder/Tests/Provider/GoogleMapsProviderTest.php#L262 (1 instead of 12)

We need to fix it but I think we can merge (after squashing) this because it's not related to this PR :)

@jasonbouffard
Copy link
Author

Squashed.

willdurand added a commit that referenced this pull request Jul 4, 2014
Added support in MapQuestProvider for licensed endpoints #318
@willdurand willdurand merged commit 87b72de into geocoder-php:master Jul 4, 2014
@willdurand
Copy link
Member

\o/ Thank you @jpb0104

@jasonbouffard jasonbouffard deleted the mapquest-licensed-endpoints branch July 7, 2014 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants