Infer non-eloquent models from PHPDocs, or other annotations #302
agustin9998
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project in which depending on a user's role object models can come from eloquent models, or third party APIs models. To accomodate for this, all models converge in a pure PHP class model without extending any Laravel class. Would being able to infer non-eloquent models by PHPDocs be a desired functionality? If it is, I can try to make it happen in the core library instead of adding it to my extensions.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions