Table of Contents
Properties
-
$message
: string
-
$spec
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
assert()
: void
-
validate()
: bool
-
raiseError()
: RuleExceptionInterface
$message
protected
string
$message
= "入力にあやまりがあります。"
$spec
protected
array<string|int, mixed>
$spec
__construct()
public
__construct(array<string|int, mixed> $spec[, string $message = "入力にあやまりがあります。" ]) : mixed
Parameters
-
$spec
: array<string|int, mixed>
-
-
$message
: string
= "入力にあやまりがあります。"
-
assert()
public
assert(mixed $value) : void
Parameters
-
$value
: mixed
-
-
throws
-
AbstractException
validate()
public
validate(mixed $value) : bool
Parameters
-
$value
: mixed
-
raiseError()
protected
raiseError() : RuleExceptionInterface