How to get a class method names in PHP