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

Can not override Uri class. #37

Closed
ZhukV opened this issue Sep 1, 2015 · 1 comment
Closed

Can not override Uri class. #37

ZhukV opened this issue Sep 1, 2015 · 1 comment

Comments

@ZhukV
Copy link

ZhukV commented Sep 1, 2015

I want override the GuzzleHttp\Psr7\Uri class, for adds custom methods, but methods in GuzzleHttp\Psr7\Uri use private static properties via static, and script is fail, because in my class (overidded) the property not found.

https://github.com/guzzle/psr7/blob/master/src/Uri.php#L524

@mtdowling
Copy link
Member

See #39 for why we do this.

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

2 participants