Documentation

Condition
in package

Table of Contents

Methods

contains()  : bool
Contains substring in string
dateEqual()  : bool
Dates equal
endWith()  : bool
End with
equal()  : bool
Simple equals
greaterThan()  : bool
Strict greater than
greaterThanOrEqual()  : bool
Greater or equal
in()  : bool
In array
isNotNull()  : bool
Is not null equal
isNull()  : bool
Is null equal
lessThan()  : bool
Strict less than
lessThanOrEqual()  : bool
Less or equal
match()  : bool
Match with pattern
monthEqual()  : bool
Months equal
notEqual()  : bool
Simple not equal
notIn()  : bool
Not in array
startWith()  : bool
Start With
strictEqual()  : bool
Strict equals
strictNotEqual()  : bool
Strict not equal
yearEqual()  : bool
Years equal

Methods

contains()

Contains substring in string

public static contains(string $value, string $comparable) : bool
Parameters
$value : string
$comparable : string
Return values
bool

dateEqual()

Dates equal

public static dateEqual(string $value, string $comparable[, mixed $format = 'Y-m-d' ]) : bool
Parameters
$value : string
$comparable : string
$format : mixed = 'Y-m-d'
Return values
bool

endWith()

End with

public static endWith(mixed $value, string $comparable) : bool
Parameters
$value : mixed
$comparable : string
Return values
bool

equal()

Simple equals

public static equal(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

greaterThan()

Strict greater than

public static greaterThan(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

greaterThanOrEqual()

Greater or equal

public static greaterThanOrEqual(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

in()

In array

public static in(mixed $value, array<string|int, mixed> $comparable) : bool
Parameters
$value : mixed
$comparable : array<string|int, mixed>
Return values
bool

isNotNull()

Is not null equal

public static isNotNull(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

isNull()

Is null equal

public static isNull(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

lessThan()

Strict less than

public static lessThan(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

lessThanOrEqual()

Less or equal

public static lessThanOrEqual(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

match()

Match with pattern

public static match(mixed $value, string $comparable) : bool
Parameters
$value : mixed
$comparable : string
Return values
bool

monthEqual()

Months equal

public static monthEqual(string $value, string $comparable) : bool
Parameters
$value : string
$comparable : string
Return values
bool

notEqual()

Simple not equal

public static notEqual(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

notIn()

Not in array

public static notIn(mixed $value, array<string|int, mixed> $comparable) : bool
Parameters
$value : mixed
$comparable : array<string|int, mixed>
Return values
bool

startWith()

Start With

public static startWith(mixed $value, string $comparable) : bool
Parameters
$value : mixed
$comparable : string
Return values
bool

strictEqual()

Strict equals

public static strictEqual(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

strictNotEqual()

Strict not equal

public static strictNotEqual(mixed $value, mixed $comparable) : bool
Parameters
$value : mixed
$comparable : mixed
Return values
bool

yearEqual()

Years equal

public static yearEqual(string $value, string $comparable) : bool
Parameters
$value : string
$comparable : string
Return values
bool

        
On this page

Search results