Symfony & PHP

Symfony & PHP

A blog about Symfony and PHP development

Symfony and PHP attributes

The last stable version of Symfony : 5.2 now uses new PHP 8.0 feature : attributes.  PHP Attributes PHP attributes offer a way to add metadata information on classes, methods, parameters... Here is how you can create an attribute : #[\Attribute] clas...

Jon92 1 minute read 4 Apr 2021 0 comments $0.03