You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why make the properties of ClientImpl private? For example, I need to get an underlying socket to use it in reactphp's event-loop. Given that socket property is private and there's no getSocket function, I can't get it in any other way than modifying the source code of ClientImpl directly (which isn't good practice). If socket were protected, I could just extend the class to implement getSocket function.
The text was updated successfully, but these errors were encountered:
Why make the properties of
ClientImpl
private? For example, I need to get an underlying socket to use it in reactphp's event-loop. Given thatsocket
property is private and there's nogetSocket
function, I can't get it in any other way than modifying the source code ofClientImpl
directly (which isn't good practice). Ifsocket
were protected, I could just extend the class to implementgetSocket
function.The text was updated successfully, but these errors were encountered: