Skip to content

spelcaster/simple-class-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleClassFinder

Usage

$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");

Similar Projects

References

This project was inspired by the following links:

About

A simple PHP class finder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages