I am looking for a function or class that can effectively describe a class:
class MyClass{
function mainFunction(){
}
function functionWithArgs($arg1,$arg2=false){
}
}
Is there any function or library that can give me some access to information about this class or even a file.
ex.
get_file_outline('fileWithAboveClass.php');
or
get_class_outline('MyClass');
Does anyone know about this or know a way to easily write this?
source
share