I want to check if a method exists and has arguments. Here is some snippet.
// this only checks if the function exist or not
if(method_exists($controller, 'function_name'))
{
//do some stuff
}
But what i want to do is
if(method_exists($controller, 'function_name(with_args)'))
{
}