Answer the question
In order to leave comments, you need to log in
How to properly space functions in laravel 5.4?
The question relates rather not to OOP, but more to the logic of perception and interaction.
If we talk about the fact that asistan immediately creates a controller in the full rest style, then the question arises how to work with this.
In any case, you need an admin panel to manage content. And in the admin panel, anyone needs the same functions as in the output.
It turns out that you need to duplicate the code? Or is it possible to get away with some kind of one check?
Answer the question
In order to leave comments, you need to log in
It turns out that you need to duplicate the code?
php artisan make:controller SomeController --resource
php artisan make:controller SomeController
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question