Creates a new loader.
string $methodName The name of the static method to call:
public function __construct(string $methodName = 'loadValidatorMetadata') { }