array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.get-declared-traits.php', 1 => 'get_declared_traits', ), 'up' => array ( 0 => 'ref.classobj.php', 1 => 'Fonctions Classes/Objets', ), 'prev' => array ( 0 => 'function.get-declared-interfaces.php', 1 => 'get_declared_interfaces', ), 'next' => array ( 0 => 'function.get-mangled-object-vars.php', 1 => 'get_mangled_object_vars', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/classobj/functions/get-declared-traits.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
get_declared_traits — Retourne un tableau contenant tous les traits déclarés
Cette fonction ne contient aucun paramètre.
Retourne un tableau contenant comme valeurs les noms de tous les traits déclarés.