protected function objectMethodExists($object, $method)
    {
        if (method_exists($object, 'methodExists')) {
            return $object->methodExists($method);
        }

        return method_exists($object, $method);
    }
protected function objectMethodExists($object, $method)
    {
        if (method_exists($object, 'methodExists')) {
            return $object->methodExists($method);
        }

        return method_exists($object, $method);
    }
protected function objectMethodExists ( $ object , $ method ) { if ( method_exists ( $ object , 'methodExists' ) ) { return $ object -> methodExists ( $ method ) ; } return method_exists ( $ object , $ method ) ; }
Internal helper for method existence checks.

@param  object $object
@param  string $method
@return boolean
Internal helper for method existence checks .