NoraLib Validation API Documentation

NotEmptyRule extends AbstractRule
in package

Table of Contents

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
throws
Throwable

validate()

public validate(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

        
On this page

Search results