ReflectionObject can take class names as well as objects