Validator.php 739B

12345678910111213141516171819202122232425
  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 extend(string $rule, \Closure | string $extension, string $message = null)
  6. * @method static void extendImplicit(string $rule, \Closure | string $extension, string $message = null)
  7. * @method static void replacer(string $rule, \Closure | string $replacer)
  8. *
  9. * @see \Illuminate\Validation\Factory
  10. */
  11. class Validator extends Facade
  12. {
  13. /**
  14. * Get the registered name of the component.
  15. *
  16. * @return string
  17. */
  18. protected static function getFacadeAccessor()
  19. {
  20. return 'validator';
  21. }
  22. }