ReflectionMethod::getClosure Returns a dynamically created closure for the method &reftitle.description; public ClosureReflectionMethod::getClosure objectnullobject&null; &warn.undocumented.func; &reftitle.parameters; object Forbidden for static methods, required for other methods. &reftitle.returnvalues; Returns Closure. Returns &null; in case of an error. &reftitle.changelog; &Version; &Description; 8.0.0 object is now nullable.