( excerpt from http://php


public function getTraitAliases(): array<string, string>;

net/manual/en/reflectionclass.gettraitaliases.php )

Warning: This function is currently not documented; only its argument list is available.

Return Values

  • mixed - Returns an array with new method names in keys and original names (in the format "TraitName::original") in values. Returns NULL in case of an error.