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

Support overloading provided base classes #23

Open
gamringer opened this issue Dec 31, 2020 · 0 comments
Open

Support overloading provided base classes #23

gamringer opened this issue Dec 31, 2020 · 0 comments

Comments

@gamringer
Copy link
Owner

As discussed in #17

Doing something like

$foo = new OverloadedKey($session);

instead of

$foo = $session->generateKey(...);

would allow adding extra functionality or overloading methods.

This could be achieved by providing a __construct() method in all objects currently output by factory methods.

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