Maybe here, call `class_exists($providerName)` and throw an Exception if false? Not 100% necessary, but probably better to throw an Exception than cause a fatal error.