Replies: 4 comments
|
Yes it is possible, try via https://docs.zephir-lang.com/0.12/en/config#external-dependencies |
0 replies
Can you please provide an example, how to declare php classes? Because i see only zep files in documentation |
0 replies
|
For example, i want to call Model::create method, but getting error. Instead of this i tried to do something like call_user_func([new Model(), “create”]) or call_user_func(“Model::create”) and it works |
0 replies
|
Create is not static, have you tried instantiating the class and calling |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to call external class method from webonyx/graphql-php
This code causes error:
Seems like there is only one way to do this (very dirty way):
All reactions