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