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