You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I can see component service is setup first so probably it found BasicComponent and tries to look method inside of it only and doesn't take into account that models is also exists.
The text was updated successfully, but these errors were encountered:
Hi.
Thanks for this brilliant extension first of all.
I'm working with project where all Models don't have
Model
suffix. Like described in the official documentation (https://book.cakephp.org/2/en/models.html#understanding-models)So in case we have Component and Model with the same name it leads to
Call to an undefined method BasicComponent::some_method
.Code sample:
As I can see component service is setup first so probably it found
BasicComponent
and tries to look method inside of it only and doesn't take into account that models is also exists.The text was updated successfully, but these errors were encountered: