Руководство по атрибутам PHP

https://ashallendesign.co.uk/blog/php-attributes A Guide to PHP Attributes