The repository pattern is a data source abstraction that behaves like a collection; containing domain (value) objects. In this post we’ll be exploring what a repository is, and what it is not.
PHP
#[RouteParameter] Does Not Bind Your Model
Michael Dyrynda explains a subtle Laravel gotcha: #[RouteParameter] only reads the current route parameter value, it does not perform implicit model binding. Good reminder that the controller signature still matters when you expect a bound Read more…