Reputation: 9
For the first time, I am working on userfrosting, it is based on MVC. So I know how the things are working but my issue is now, I want to call the one of the model to find the particular userid ie. Employee::find(1)
I want to get the username
for the particular id, as I am running a for loop to I will be getting different id.
How can I call the model in my template twig?
Upvotes: 0
Views: 137