Table of Contents
Properties
-
$message
: string
-
$pattern
: string
Methods
-
__construct()
: mixed
-
assert()
: void
-
validate()
: bool
-
raiseError()
: RuleExceptionInterface
$message
protected
string
$message
= "入力してください。"
$pattern
read-only
protected
string
$pattern
__construct()
public
__construct(string $pattern[, string $message = "入力してください。" ]) : mixed
Parameters
-
$pattern
: string
-
-
$message
: string
= "入力してください。"
-
assert()
public
assert(mixed $value) : void
Parameters
-
$value
: mixed
-
-
throws
-
Throwable
validate()
public
validate(mixed $value) : bool
Parameters
-
$value
: mixed
-
raiseError()
protected
raiseError() : RuleExceptionInterface