ClassFinder (Filesystem)
ClassFinder
class ClassFinder (View source)
Methods
array | findClasses( string $directory) Find all the class and interface names in a given directory. | |
string|null | findClass( string $path) Extract the class name from the file at the given path. |
Details
array findClasses( string $directory)
Find all the class and interface names in a given directory.
string|null findClass( string $path)
Extract the class name from the file at the given path.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Filesystem/ClassFinder.html