List all Public functions ?
daslicht opened this issue · 1 comments
daslicht commented
Hi,
is there a way to log all public functions of a PHP Object ?
Lets say I have the following:
class A {
public function doit(){}
public function foo(){}
}
$a = new A();
\ChromePhp::log( $a); returns:
A Object {}
Is there a way to make it return :
public function doit()
public function foo()
?
daslicht commented
Possible workaround:
http://php.net/manual/en/function.get-class-methods.php