示例#1
0
 /**
  * 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;
 }
示例#2
0
 /**
  * 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;
 }