New in Symfony 7.1: New Dependency Injection Attributes

Symfony includes tens of PHP attributes so you can define metadata next to your code. In Symfony 7.1 we've added some new attributes and in this article we'll showcase two of them related to the DependencyInjection component.

AutowireMethodOf Attribute… https://symfony.com/blog/new-in-symfony-7-1-new-dependency-injection-attributes?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Vytvořeno 17d | 15. 5. 2024 8:20:03


Chcete-li přidat komentář, přihlaste se

Ostatní příspěvky v této skupině

New in Symfony 7.1: Misc Improvements (part 3)

Expiring Signed URIs

        Contributed by Baptiste Contreras
         in #51502.

Signed URIs include a hash value that

31. 5. 2024 14:30:02 | Symfony
The Symfony Fast Track book updated for Symfony 6.4

A few weeks ago, I've quietly released an updated version of the Symfony book, "The Fast Track" for Symfony 6.4. Besides using Symfony 6.4, this new version uses the latest versions of all dependencie

31. 5. 2024 12:10:19 | Symfony
Symfony 7.1.0 released

Symfony 7.1.0 has just been released. Check the Living on the Edge category on this blog to learn about the main features of this new stable release; or check the release announcement of BETA1 to get

31. 5. 2024 9:50:08 | Symfony
New in Symfony 7.1: Misc Improvements (part 2)

Custom .env Path

        Contributed by Jérôme Tamarelle
         in #52638.

When using a file to configure environment

30. 5. 2024 10:50:11 | Symfony
New in Symfony 7.1: Misc Improvements

Similar Local Selection

        Contributed by Florent Morselli
         in #52986.

Symfony's Request object provides a

29. 5. 2024 9:50:10 | Symfony
SymfonyOnline June 2024: Only 7 days to go!

SymfonyOnline June 2024 will start in less than a week on June 4th & 5th with pre-conference workshop days. Then main conference days will continue on June 6th & 7th with outstanding s

28. 5. 2024 15:40:10 | Symfony
New in Symfony 7.1: Emoji Improvements

New Emoji Component

        Contributed by Simon André
         in #53096.

In Symfony 6.2 we introduced a feature to tra

28. 5. 2024 8:50:10 | Symfony