get_declared_traits

  • (PHP 5 >= 5.4.0, PHP 7)
  • Returns an array of all declared traits