AbstractRule
in package
implements
ValidatorInterface, RuleInterface
AbstractYes
Table of Contents
Interfaces
Properties
- $message : string
Methods
- __construct() : mixed
- assert() : void
- validate() : bool
- raiseError() : RuleExceptionInterface
Properties
$message
protected
string
$message
= '入力エラーです。'
Methods
__construct()
public
__construct([string $message = '入力エラーです。' ]) : mixed
Parameters
- $message : string = '入力エラーです。'
assert()
public
assert(mixed $value) : void
Parameters
- $value : mixed
Tags
validate()
public
abstract validate(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolraiseError()
protected
raiseError() : RuleExceptionInterface