Determine Actions of Controller

How can I detect that the controller "someController" has action "someAction" without Reflection? Do Phalcon has some mechanisms for it?



84.5k

I think the unique way is use reflection or use method exists:

var_dump(method_exists('someController','someAction'));

http://php.net/manual/fr/function.method-exists.php

Good idea, thanks.