Table of Contents
-
$exception
: string
-
isNotEmpty()
: self
-
isNotNull()
: self
-
isType()
: $this
-
isValue()
: self
-
__construct()
: mixed
-
getMessageForIsNotEmpty()
: string
-
getMessageForIsNotNull()
: string
-
getMessageForIsType()
: string
-
getMessageForIsValue()
: string
-
getValue()
: mixed
$exception
protected
string
$exception
= InvalidArgumentException::class
isNotEmpty()
public
isNotEmpty() : self
Return values
self
—
isNotNull()
public
isNotNull() : self
Return values
self
—
isType()
public
isType(string|array<string|int, string> $type) : $this
Parameters
-
$type
: string|array<string|int, string>
-
Return values
$this
—
isValue()
public
isValue(array<string|int, mixed> $values) : self
Parameters
-
$values
: array<string|int, mixed>
-
Return values
self
—
__construct()
protected
__construct([string $exception = InvalidArgumentException::class ]) : mixed
Parameters
-
$exception
: string
= InvalidArgumentException::class
-
Return values
mixed
—
getMessageForIsNotEmpty()
protected
abstract getMessageForIsNotEmpty() : string
Return values
string
—
getMessageForIsNotNull()
protected
abstract getMessageForIsNotNull() : string
Return values
string
—
getMessageForIsType()
protected
abstract getMessageForIsType(string $info) : string
Parameters
-
$info
: string
-
Return values
string
—
getMessageForIsValue()
protected
abstract getMessageForIsValue(string $info) : string
Parameters
-
$info
: string
-
Return values
string
—
getValue()
protected
abstract getValue() : mixed
Return values
mixed
—