$finder = new SimpleClassFinder\Finder();
$finder->getClassesIn("SimpleClassFinder");
$finder->getClassesThatImplements("Helper", "", true);
$finder->getClassesThatImplements("Helper", "Symfony\Component\Console\Helper", true);
$finder->getClassesThatImplements("Symfony\Component\Console\Helper\Helper");
// depends on `composer dumpautoload --optimize`
$f->loadClassesFrom("src")
->getClassesIn("SimpleClassFinder");
$f->getClassesThatUses("Awesome\Trait");
This project was inspired by the following links: