Closed matiaslauriti closed 4 years ago
Just for you to know, if you want to get any Resource
's methods resolved, you can use @mixin \App\Models\MODEL
so instead of telling you that a relation like $this->hasThumbnails()
does not exist, it will automatically find it (working in PHPStorm)
Hey @matiaslauriti !
That's neat 👍 I think it's not in the documentation, maybe we should add this.
Thank you
Thank you for the tips too, it would be very useful. Unfortunately, I do not use PHPStorm yet 🙂
I have updated how you resolve
Comment
(it is already in theResource
as$this->resource
)