Yes you can, take a look at the reflection classes / methods.
http://php.net/manual/en/book.reflection.php and
http://www.php.net/manual/en/reflectionclass.getmethods.php
$class = new ReflectionClass('Apple');
$methods = $class->getMethods(ReflectionMethod::IS_PUBLIC);
var_dump($methods);