Загрузка...
Поиск...
Не найдено
См. документацию.
3declare(strict_types=1);
19 if (!is_string($value))
22 'Value must be a string',
23 failedValidator: $this,
29 if (preg_match(
'/\b((https?:\/\/|www\.)[^\s]+)/iu', $value))
32 'Value must not contain URLs',
33 failedValidator: $this,