I recently saw an issue with type-hinting controller actions, so I’d like to demonstrate a few examples where you can safely use primitive types controllers

The post Primitive Types in Controllers and Closure Routes appeared first on Laravel News.

Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

Leave a Reply