Skip to content
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

SiftClient under same namespace as SiftClient in sift-php #2

Open
nbombau opened this issue Jul 21, 2015 · 0 comments
Open

SiftClient under same namespace as SiftClient in sift-php #2

nbombau opened this issue Jul 21, 2015 · 0 comments

Comments

@nbombau
Copy link

nbombau commented Jul 21, 2015

sift-php and sift-partner-php have a class named SiftClient. That class in both SDKs is under the default namespace. When importing both libraries into the same project this creates a conflict. PHP ends up picking one of those classes (sift-php/lib/SiftClient in my case) which makes it impossible to call methods defined in the second class (sift-partner-php/lib/SiftClient in my case).

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

No branches or pull requests

1 participant