/** * Enable deep config validation (disabled by default because it creates significant performance overhead). * Useful only at development to catch type definition errors quickly. */ public static function enableValidation($allowCustomOptions = true) { self::$enableValidation = true; self::$allowCustomOptions = $allowCustomOptions; }
/** * Enable deep config validation (disabled by default because it creates significant performance overhead). * Useful only at development to catch type definition errors quickly. */ public static function enableValidation() { self::$enableValidation = true; }