Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jimmy.puckett's avatar

Have you seen that 4.3 will allow type hinting at the method/controller for DI!

That is going to be awesome to be able to use the IoC for a method/controller & not the entire class!

http://laravel.com/docs/releases#laravel-4.3

This is going to open such neat doors. There have been so many times that I start a class & inject at the __construct that it then turns out to be refactored to an App::make in a method because my constructor has too many classes being injected that it looks messy.

I am really looking for to what 4.3 brings!

0 likes
0 replies

Please or to participate in this conversation.