Created
July 15, 2015 07:53
-
-
Save asgrim/53877735f1c280244e26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ([ | |
'TraitFixtureA', | |
// 'TraitFixtureB', | |
// 'TraitFixtureC', | |
// 'TraitFixtureD', | |
] as $c) { | |
echo "\n\n" . $c . "\n" . str_repeat('=', strlen($c)) . "\n\n"; | |
$a = new \ReflectionClass($c); | |
var_dump($a->getTraits()); | |
var_dump($a->getTraitNames()); | |
var_dump($a->getTraitAliases()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment