DEV Community

Discussion on: Restructuring a Laravel controller using Services & Action Classes

 
balajidharma profile image
Balaji Dharma • Edited

For Laravel CLI, we going to call the actions handle function in command controller (not going to use the actions or service controller directly). So, that time we can create request objects on the fly.

I am agree using plain object or array will improve the performance, but really we don’t know how much it improves. It based on application complexity.