MorphMap definition #38723
Unanswered
pedro-santiago
asked this question in
Ideas
MorphMap definition
#38723
Replies: 1 comment
-
Many use the morph map to get the class of the morph which by this change you wouldn't be able to do without reading the models. |
Beta Was this translation helpful? Give feedback.
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.
-
The think which keeps annoying is that we have to define the
morphMap
outside model classes. Wouldn't it be nicer if we have aprotected $morphName = 'user';
as default?I would do this PR.
Beta Was this translation helpful? Give feedback.
All reactions