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

at line line 15
array findClasses( string $directory)

Find all the class and interface names in a given directory.

Parameters

string $directory

Return Value

array

at line line 32
string|null findClass( string $path)

Extract the class name from the file at the given path.

Parameters

string $path

Return Value

string|null