Abbas
Abbas

Reputation: 137

how to use repository pattern in blade

I'm going to use repository Design pattern in Laravel. I have no problem implementing repository pattern in the control section But I have a question that I need guidance And my question is how to use the repository on the blade? Am I wrong?

Upvotes: 0

Views: 421

Answers (1)

Roshan Twanabasu
Roshan Twanabasu

Reputation: 198

There's no repository pattern for balde views. Repo pattern is only for differentiating your code logic and bussiness logic.

Upvotes: 1

Related Questions