get_declared_traits
statamic/cms
Supported Versions: PHP 5 >= 5.4.0, PHP 7, PHP 8
Returns an array of all declared traits
<?php get_declared_traits
(): array