Lazy Objects for Dependency Injection in PHP (Deep Dive)

Publicado em: 12 Junho 2025
no 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


Nesta página do site você pode assistir ao vídeo on-line Lazy Objects for Dependency Injection in PHP (Deep Dive) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Tideways 12 Junho 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 443 vezes e gostou 22 espectadores. Boa visualização!