Lazy Objects for Dependency Injection in PHP (Deep Dive)

Publicado el: 12 junio 2025
en el canal de: Tideways
443
22

Subscribe to my newsletter for PHP performance content: https://tideways.com/newsletter?utm_s...

Try our PHP Profiler: https://tideways.com/profiler/feature...

The new Lazy Object RFC in PHP 8.4 will have a big effect on Dependency Injection in PHP and in this video I will explain how based on a simple container example and the Symfony DIC.

Along the way I talk about:

https://wiki.php.net/rfc/lazy-objects
https://mwop.net/blog/245-Autoloading...
https://github.com/symfony/symfony/pu...

00:00 Introduction
01:13 Lazy Services in Dependency Injection
03:51 Lazy Objects PHP RFC Review
06:04 Simple Lazy Container Example
16:48 Symfony with Lazy Objects
23:05 Ending


En esta página del sitio puede ver el video en línea Lazy Objects for Dependency Injection in PHP (Deep Dive) de Duración hora minuto segunda en buena calidad , que subió el usuario Tideways 12 junio 2025, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 443 veces y le gustó 22 a los espectadores. Disfruta viendo!