@@kukun2748 Let's suppose, you have one more controller just like UserController. 1. You need to create an interface for this as suppose UserInterface and 2. Also a repository class as UserRepository. 3. Then you will have to bind the UserRepository and UserInterface together in the AppServiceProvider similar to the Todo. Rest you can define the methods in the Interface and implement them in the Repository class as explained in the video.
Thank you so much ❤
After completing this series, please make a video about Laravel Octane❤
@mdsafikulislam9113 Okay thank you. I will make a video on that.
@programmingfields Thank you so much.
great video
@hamzandev9482 Thanks.
Nice 👍
What is the role of repository and what we can achieve?
,in your example given only job of postman
@VinodkumarD-f2v I would recommend please watch the complete playlist.
Can you add more controller instead of todo?
@kukun2748 You can create and use more controllers similar to the TodoController. I just demonstrated the use of this.
@@programmingfields How about in AppServiceProvider? Should I just add a another interface and respository in register function?
@@kukun2748 Let's suppose, you have one more controller just like UserController.
1. You need to create an interface for this as suppose UserInterface and
2. Also a repository class as UserRepository.
3. Then you will have to bind the UserRepository and UserInterface together in the AppServiceProvider similar to the Todo.
Rest you can define the methods in the Interface and implement them in the Repository class as explained in the video.
@@programmingfields thank you very much! I understand it now!
Goood
CFBR