WyriHaximus / php-list-classes-in-directory

Allows you to list full qualified class names in directories and files.
MIT License
24 stars 3 forks source link

Filter (non-)instantiatable classes #9

Closed holtkamp closed 5 years ago

holtkamp commented 5 years ago

As suggested in https://github.com/WyriHaximus/php-list-classes-in-directory/issues/8

Note I tried to use the classes in test-app, but they seem to not follow the PSR4 standard (each class should have its own file), so when using them to set up a ReflectionClass, it always failed with a "class not found" exception:

Roave\BetterReflection\Reflector\Exception\IdentifierNotFound: Roave\BetterReflection\Reflection\ReflectionClass "Test\App\Foo\Bar\Bar" could not be found in the located source

So I decided to use separate classes for testing this "feature" 🤓

WyriHaximus commented 5 years ago

Will tag a release tomorrow

WyriHaximus commented 5 years ago

1.3.0 has been tagged