Skip to content

Glossary: Laravel

Dependency injection

Also written: injection

Laravel reads the type of a method's parameter and passes in the right object. A controller that asks for Request or Cart receives one.

Where the book teaches it

Related terms

Request objectFacade