Validator.php 898 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static \Illuminate\Contracts\Validation\Validator make(array $data, array $rules, array $messages = [], array $customAttributes = [])
  5. * @method static void excludeUnvalidatedArrayKeys()
  6. * @method static void extend(string $rule, \Closure|string $extension, string $message = null)
  7. * @method static void extendImplicit(string $rule, \Closure|string $extension, string $message = null)
  8. * @method static void replacer(string $rule, \Closure|string $replacer)
  9. * @method static array validate(array $data, array $rules, array $messages = [], array $customAttributes = [])
  10. *
  11. * @see \Illuminate\Validation\Factory
  12. */
  13. class Validator extends Facade
  14. {
  15. /**
  16. * Get the registered name of the component.
  17. *
  18. * @return string
  19. */
  20. protected static function getFacadeAccessor()
  21. {
  22. return 'validator';
  23. }
  24. }