Created
June 2, 2013 11:43
-
-
Save michaelklapper/5693399 to your computer and use it in GitHub Desktop.
Get all classes that inherit from class xy
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
$classes = array_filter(get_declared_classes(), function($class){ | |
return get_parent_class($class) === 'Morphodo\Environment\Settings\Handler\AbstractHandler'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://stackoverflow.com/questions/887947/get-all-modules-controllers-and-actions-from-a-zend-framework-application