-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
[feature] Allow to call via magic methods #39
Comments
artemmolotov
changed the title
Calling via magic methods
[feature] Allow to call via magic methods
Jul 29, 2021
Is this duplicating #36? |
FYI they are not supported at the moment. |
Currently, we can use class TransportFactory {
public static function __callStatic(string $method, array $arguments): string {
return $method;
}
}
echo $invoker->call(Closure::fromCallable([TransportFactory::class, 'some.transport.example'])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Are there any plans to support magic methods? I didn't find an answer in the docs.
Example:
P.S.: Thank you for the development and support of the library.
The text was updated successfully, but these errors were encountered: