Use the built-in function get_class_methods() which returns an array of method names. It'll take a class or object as the first argument.
Mainly notes to future-Twig (and for anyone else who may find them useful)
If you've found one or more of my blog posts helpful, why not say thanks by buying me a coffee or beer?
Use the built-in function get_class_methods() which returns an array of method names. It'll take a class or object as the first argument.