alnum() публичный статический Метод

Assert that value is alphanumeric.
public static alnum ( mixed $value, string | null $message = null, string | null $propertyPath = null ) : boolean
$value mixed
$message string | null
$propertyPath string | null
Результат boolean
Пример #1
0
 public function testInvalidAlnum()
 {
     $this->setExpectedException('Assert\\AssertionFailedException', null, Assertion::INVALID_ALNUM);
     Assertion::alnum("1a");
 }