private function callMethod($instance, $method)
    {
        if (!method_exists($instance, $method) || !is_callable([$instance, $method])) {
            return false;
        }

        return call_user_func([$instance, $method]);
    }
private function callMethod($instance, $method)
    {
        if (!method_exists($instance, $method) || !is_callable([$instance, $method])) {
            return false;
        }

        return call_user_func([$instance, $method]);
    }
private function callMethod ( $ instance , $ method ) { if ( ! method_exists ( $ instance , $ method ) || ! is_callable ( [ $ instance , $ method ] ) ) { return false ; } return call_user_func ( [ $ instance , $ method ] ) ; }
Calls controllers method if exists, otherwise returns false

@param object $instance
@param string $method

@return bool|mixed
Calls controllers method if exists otherwise returns false