API - XOOPS 2.5.11 Beta 2
By monxoops.fr
Mixin Interface Reference

Static Public Member Functions

static nullOrString ($value, $message='')
 
static allString ($value, $message='')
 
static nullOrStringNotEmpty ($value, $message='')
 
static allStringNotEmpty ($value, $message='')
 
static nullOrInteger ($value, $message='')
 
static allInteger ($value, $message='')
 
static nullOrIntegerish ($value, $message='')
 
static allIntegerish ($value, $message='')
 
static nullOrFloat ($value, $message='')
 
static allFloat ($value, $message='')
 
static nullOrNumeric ($value, $message='')
 
static allNumeric ($value, $message='')
 
static nullOrNatural ($value, $message='')
 
static allNatural ($value, $message='')
 
static nullOrBoolean ($value, $message='')
 
static allBoolean ($value, $message='')
 
static nullOrScalar ($value, $message='')
 
static allScalar ($value, $message='')
 
static nullOrObject ($value, $message='')
 
static allObject ($value, $message='')
 
static nullOrResource ($value, $type=null, $message='')
 
static allResource ($value, $type=null, $message='')
 
static nullOrIsCallable ($value, $message='')
 
static allIsCallable ($value, $message='')
 
static nullOrIsArray ($value, $message='')
 
static allIsArray ($value, $message='')
 
static nullOrIsTraversable ($value, $message='')
 
static allIsTraversable ($value, $message='')
 
static nullOrIsArrayAccessible ($value, $message='')
 
static allIsArrayAccessible ($value, $message='')
 
static nullOrIsCountable ($value, $message='')
 
static allIsCountable ($value, $message='')
 
static nullOrIsIterable ($value, $message='')
 
static allIsIterable ($value, $message='')
 
static nullOrIsInstanceOf ($value, $class, $message='')
 
static allIsInstanceOf ($value, $class, $message='')
 
static nullOrNotInstanceOf ($value, $class, $message='')
 
static allNotInstanceOf ($value, $class, $message='')
 
static nullOrIsInstanceOfAny ($value, $classes, $message='')
 
static allIsInstanceOfAny ($value, $classes, $message='')
 
static nullOrIsAOf ($value, $class, $message='')
 
static allIsAOf ($value, $class, $message='')
 
static nullOrIsNotA ($value, $class, $message='')
 
static allIsNotA ($value, $class, $message='')
 
static nullOrIsAnyOf ($value, $classes, $message='')
 
static allIsAnyOf ($value, $classes, $message='')
 
static nullOrIsEmpty ($value, $message='')
 
static allIsEmpty ($value, $message='')
 
static nullOrNotEmpty ($value, $message='')
 
static allNotEmpty ($value, $message='')
 
static allNull ($value, $message='')
 
static allNotNull ($value, $message='')
 
static nullOrTrue ($value, $message='')
 
static allTrue ($value, $message='')
 
static nullOrFalse ($value, $message='')
 
static allFalse ($value, $message='')
 
static nullOrNotFalse ($value, $message='')
 
static allNotFalse ($value, $message='')
 
static nullOrIp ($value, $message='')
 
static allIp ($value, $message='')
 
static nullOrIpv4 ($value, $message='')
 
static allIpv4 ($value, $message='')
 
static nullOrIpv6 ($value, $message='')
 
static allIpv6 ($value, $message='')
 
static nullOrEmail ($value, $message='')
 
static allEmail ($value, $message='')
 
static nullOrUniqueValues ($values, $message='')
 
static allUniqueValues ($values, $message='')
 
static nullOrEq ($value, $expect, $message='')
 
static allEq ($value, $expect, $message='')
 
static nullOrNotEq ($value, $expect, $message='')
 
static allNotEq ($value, $expect, $message='')
 
static nullOrSame ($value, $expect, $message='')
 
static allSame ($value, $expect, $message='')
 
static nullOrNotSame ($value, $expect, $message='')
 
static allNotSame ($value, $expect, $message='')
 
static nullOrGreaterThan ($value, $limit, $message='')
 
static allGreaterThan ($value, $limit, $message='')
 
static nullOrGreaterThanEq ($value, $limit, $message='')
 
static allGreaterThanEq ($value, $limit, $message='')
 
static nullOrLessThan ($value, $limit, $message='')
 
static allLessThan ($value, $limit, $message='')
 
static nullOrLessThanEq ($value, $limit, $message='')
 
static allLessThanEq ($value, $limit, $message='')
 
static nullOrRange ($value, $min, $max, $message='')
 
static allRange ($value, $min, $max, $message='')
 
static nullOrOneOf ($value, $values, $message='')
 
static allOneOf ($value, $values, $message='')
 
static nullOrInArray ($value, $values, $message='')
 
static allInArray ($value, $values, $message='')
 
static nullOrContains ($value, $subString, $message='')
 
static allContains ($value, $subString, $message='')
 
static nullOrNotContains ($value, $subString, $message='')
 
static allNotContains ($value, $subString, $message='')
 
static nullOrNotWhitespaceOnly ($value, $message='')
 
static allNotWhitespaceOnly ($value, $message='')
 
static nullOrStartsWith ($value, $prefix, $message='')
 
static allStartsWith ($value, $prefix, $message='')
 
static nullOrNotStartsWith ($value, $prefix, $message='')
 
static allNotStartsWith ($value, $prefix, $message='')
 
static nullOrStartsWithLetter ($value, $message='')
 
static allStartsWithLetter ($value, $message='')
 
static nullOrEndsWith ($value, $suffix, $message='')
 
static allEndsWith ($value, $suffix, $message='')
 
static nullOrNotEndsWith ($value, $suffix, $message='')
 
static allNotEndsWith ($value, $suffix, $message='')
 
static nullOrRegex ($value, $pattern, $message='')
 
static allRegex ($value, $pattern, $message='')
 
static nullOrNotRegex ($value, $pattern, $message='')
 
static allNotRegex ($value, $pattern, $message='')
 
static nullOrUnicodeLetters ($value, $message='')
 
static allUnicodeLetters ($value, $message='')
 
static nullOrAlpha ($value, $message='')
 
static allAlpha ($value, $message='')
 
static nullOrDigits ($value, $message='')
 
static allDigits ($value, $message='')
 
static nullOrAlnum ($value, $message='')
 
static allAlnum ($value, $message='')
 
static nullOrLower ($value, $message='')
 
static allLower ($value, $message='')
 
static nullOrUpper ($value, $message='')
 
static allUpper ($value, $message='')
 
static nullOrLength ($value, $length, $message='')
 
static allLength ($value, $length, $message='')
 
static nullOrMinLength ($value, $min, $message='')
 
static allMinLength ($value, $min, $message='')
 
static nullOrMaxLength ($value, $max, $message='')
 
static allMaxLength ($value, $max, $message='')
 
static nullOrLengthBetween ($value, $min, $max, $message='')
 
static allLengthBetween ($value, $min, $max, $message='')
 
static nullOrFileExists ($value, $message='')
 
static allFileExists ($value, $message='')
 
static nullOrFile ($value, $message='')
 
static allFile ($value, $message='')
 
static nullOrDirectory ($value, $message='')
 
static allDirectory ($value, $message='')
 
static nullOrReadable ($value, $message='')
 
static allReadable ($value, $message='')
 
static nullOrWritable ($value, $message='')
 
static allWritable ($value, $message='')
 
static nullOrClassExists ($value, $message='')
 
static allClassExists ($value, $message='')
 
static nullOrSubclassOf ($value, $class, $message='')
 
static allSubclassOf ($value, $class, $message='')
 
static nullOrInterfaceExists ($value, $message='')
 
static allInterfaceExists ($value, $message='')
 
static nullOrImplementsInterface ($value, $interface, $message='')
 
static allImplementsInterface ($value, $interface, $message='')
 
static nullOrPropertyExists ($classOrObject, $property, $message='')
 
static allPropertyExists ($classOrObject, $property, $message='')
 
static nullOrPropertyNotExists ($classOrObject, $property, $message='')
 
static allPropertyNotExists ($classOrObject, $property, $message='')
 
static nullOrMethodExists ($classOrObject, $method, $message='')
 
static allMethodExists ($classOrObject, $method, $message='')
 
static nullOrMethodNotExists ($classOrObject, $method, $message='')
 
static allMethodNotExists ($classOrObject, $method, $message='')
 
static nullOrKeyExists ($array, $key, $message='')
 
static allKeyExists ($array, $key, $message='')
 
static nullOrKeyNotExists ($array, $key, $message='')
 
static allKeyNotExists ($array, $key, $message='')
 
static nullOrValidArrayKey ($value, $message='')
 
static allValidArrayKey ($value, $message='')
 
static nullOrCount ($array, $number, $message='')
 
static allCount ($array, $number, $message='')
 
static nullOrMinCount ($array, $min, $message='')
 
static allMinCount ($array, $min, $message='')
 
static nullOrMaxCount ($array, $max, $message='')
 
static allMaxCount ($array, $max, $message='')
 
static nullOrCountBetween ($array, $min, $max, $message='')
 
static allCountBetween ($array, $min, $max, $message='')
 
static nullOrIsList ($array, $message='')
 
static allIsList ($array, $message='')
 
static nullOrIsNonEmptyList ($array, $message='')
 
static allIsNonEmptyList ($array, $message='')
 
static nullOrIsMap ($array, $message='')
 
static allIsMap ($array, $message='')
 
static nullOrIsNonEmptyMap ($array, $message='')
 
static allIsNonEmptyMap ($array, $message='')
 
static nullOrUuid ($value, $message='')
 
static allUuid ($value, $message='')
 
static nullOrThrows ($expression, $class='Exception', $message='')
 
static allThrows ($expression, $class='Exception', $message='')
 

Member Function Documentation

◆ allAlnum()

static allAlnum (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allAlpha()

static allAlpha (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allBoolean()

static allBoolean (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<bool> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allClassExists()

static allClassExists (   $value,
  $message = '' 
)
static

@psalm-assert iterable<class-string> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allContains()

static allContains (   $value,
  $subString,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$subString
string$message
Exceptions
InvalidArgumentException

◆ allCount()

static allCount (   $array,
  $number,
  $message = '' 
)
static
Parameters
iterable<Countable|array>$array
int$number
string$message
Exceptions
InvalidArgumentException

◆ allCountBetween()

static allCountBetween (   $array,
  $min,
  $max,
  $message = '' 
)
static
Parameters
iterable<Countable|array>$array
int | float$min
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ allDigits()

static allDigits (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allDirectory()

static allDirectory (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allEmail()

static allEmail (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allEndsWith()

static allEndsWith (   $value,
  $suffix,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$suffix
string$message
Exceptions
InvalidArgumentException

◆ allEq()

static allEq (   $value,
  $expect,
  $message = '' 
)
static
Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ allFalse()

static allFalse (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<false> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allFile()

static allFile (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allFileExists()

static allFileExists (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allFloat()

static allFloat (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<float> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allGreaterThan()

static allGreaterThan (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ allGreaterThanEq()

static allGreaterThanEq (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ allImplementsInterface()

static allImplementsInterface (   $value,
  $interface,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $interface @psalm-assert iterable<class-string<ExpectedType>> $value

Parameters
mixed$value
mixed$interface
string$message
Exceptions
InvalidArgumentException

◆ allInArray()

static allInArray (   $value,
  $values,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
array$values
string$message
Exceptions
InvalidArgumentException

◆ allInteger()

static allInteger (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<int> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIntegerish()

static allIntegerish (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<numeric> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allInterfaceExists()

static allInterfaceExists (   $value,
  $message = '' 
)
static

@psalm-assert iterable<class-string> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIp()

static allIp (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIpv4()

static allIpv4 (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIpv6()

static allIpv6 (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsAnyOf()

static allIsAnyOf (   $value,
  $classes,
  $message = '' 
)
static

@psalm-pure @psalm-param array<class-string> $classes

Parameters
iterable<object|string>$value
string[]$classes
string$message
Exceptions
InvalidArgumentException

◆ allIsAOf()

static allIsAOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert iterable<ExpectedType|class-string<ExpectedType>> $value

Parameters
iterable<object|string>$value
string$class
string$message
Exceptions
InvalidArgumentException

◆ allIsArray()

static allIsArray (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<array> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsArrayAccessible()

static allIsArrayAccessible (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<array|ArrayAccess> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsCallable()

static allIsCallable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<callable> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsCountable()

static allIsCountable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<countable> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsEmpty()

static allIsEmpty (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<empty> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsInstanceOf()

static allIsInstanceOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert iterable<ExpectedType> $value

Parameters
mixed$value
string | object$class
string$message
Exceptions
InvalidArgumentException

◆ allIsInstanceOfAny()

static allIsInstanceOfAny (   $value,
  $classes,
  $message = '' 
)
static

@psalm-pure @psalm-param array<class-string> $classes

Parameters
mixed$value
array<object|string>$classes
string$message
Exceptions
InvalidArgumentException

◆ allIsIterable()

static allIsIterable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<iterable> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allIsList()

static allIsList (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<list> $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ allIsMap()

static allIsMap (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-template T @psalm-param iterable<mixed|array<T>> $array @psalm-assert iterable<array<string, T>> $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ allIsNonEmptyList()

static allIsNonEmptyList (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<non-empty-list> $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ allIsNonEmptyMap()

static allIsNonEmptyMap (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-template T @psalm-param iterable<mixed|array<T>> $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ allIsNotA()

static allIsNotA (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template UnexpectedType of object @psalm-param class-string<UnexpectedType> $class

Parameters
iterable<object|string>$value
string$class
string$message
Exceptions
InvalidArgumentException

◆ allIsTraversable()

static allIsTraversable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<iterable> $value

Deprecated:
use "isIterable" or "isInstanceOf" instead
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allKeyExists()

static allKeyExists (   $array,
  $key,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<array>$array
string | int$key
string$message
Exceptions
InvalidArgumentException

◆ allKeyNotExists()

static allKeyNotExists (   $array,
  $key,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<array>$array
string | int$key
string$message
Exceptions
InvalidArgumentException

◆ allLength()

static allLength (   $value,
  $length,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
int$length
string$message
Exceptions
InvalidArgumentException

◆ allLengthBetween()

static allLengthBetween (   $value,
  $min,
  $max,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
int | float$min
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ allLessThan()

static allLessThan (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ allLessThanEq()

static allLessThanEq (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ allLower()

static allLower (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<lowercase-string> $value

Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allMaxCount()

static allMaxCount (   $array,
  $max,
  $message = '' 
)
static
Parameters
iterable<Countable|array>$array
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ allMaxLength()

static allMaxLength (   $value,
  $max,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ allMethodExists()

static allMethodExists (   $classOrObject,
  $method,
  $message = '' 
)
static

@psalm-pure @psalm-param iterable<class-string|object> $classOrObject

Parameters
iterable<string|object>$classOrObject
mixed$method
string$message
Exceptions
InvalidArgumentException

◆ allMethodNotExists()

static allMethodNotExists (   $classOrObject,
  $method,
  $message = '' 
)
static

@psalm-pure @psalm-param iterable<class-string|object> $classOrObject

Parameters
iterable<string|object>$classOrObject
mixed$method
string$message
Exceptions
InvalidArgumentException

◆ allMinCount()

static allMinCount (   $array,
  $min,
  $message = '' 
)
static
Parameters
iterable<Countable|array>$array
int | float$min
string$message
Exceptions
InvalidArgumentException

◆ allMinLength()

static allMinLength (   $value,
  $min,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
int | float$min
string$message
Exceptions
InvalidArgumentException

◆ allNatural()

static allNatural (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<int> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allNotContains()

static allNotContains (   $value,
  $subString,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$subString
string$message
Exceptions
InvalidArgumentException

◆ allNotEmpty()

static allNotEmpty (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allNotEndsWith()

static allNotEndsWith (   $value,
  $suffix,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$suffix
string$message
Exceptions
InvalidArgumentException

◆ allNotEq()

static allNotEq (   $value,
  $expect,
  $message = '' 
)
static
Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ allNotFalse()

static allNotFalse (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allNotInstanceOf()

static allNotInstanceOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class

Parameters
mixed$value
string | object$class
string$message
Exceptions
InvalidArgumentException

◆ allNotNull()

static allNotNull (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allNotRegex()

static allNotRegex (   $value,
  $pattern,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$pattern
string$message
Exceptions
InvalidArgumentException

◆ allNotSame()

static allNotSame (   $value,
  $expect,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ allNotStartsWith()

static allNotStartsWith (   $value,
  $prefix,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$prefix
string$message
Exceptions
InvalidArgumentException

◆ allNotWhitespaceOnly()

static allNotWhitespaceOnly (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allNull()

static allNull (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<null> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allNumeric()

static allNumeric (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<numeric> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allObject()

static allObject (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<object> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allOneOf()

static allOneOf (   $value,
  $values,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
array$values
string$message
Exceptions
InvalidArgumentException

◆ allPropertyExists()

static allPropertyExists (   $classOrObject,
  $property,
  $message = '' 
)
static

@psalm-pure @psalm-param iterable<class-string|object> $classOrObject

Parameters
iterable<string|object>$classOrObject
mixed$property
string$message
Exceptions
InvalidArgumentException

◆ allPropertyNotExists()

static allPropertyNotExists (   $classOrObject,
  $property,
  $message = '' 
)
static

@psalm-pure @psalm-param iterable<class-string|object> $classOrObject

Parameters
iterable<string|object>$classOrObject
mixed$property
string$message
Exceptions
InvalidArgumentException

◆ allRange()

static allRange (   $value,
  $min,
  $max,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$min
mixed$max
string$message
Exceptions
InvalidArgumentException

◆ allReadable()

static allReadable (   $value,
  $message = '' 
)
static
Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allRegex()

static allRegex (   $value,
  $pattern,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$pattern
string$message
Exceptions
InvalidArgumentException

◆ allResource()

static allResource (   $value,
  $type = null,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<resource> $value

Parameters
mixed$value
string | null$typetype of resource this should be.
See also
https://www.php.net/manual/en/function.get-resource-type.php
Parameters
string$message
Exceptions
InvalidArgumentException

◆ allSame()

static allSame (   $value,
  $expect,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ allScalar()

static allScalar (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<scalar> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allStartsWith()

static allStartsWith (   $value,
  $prefix,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$prefix
string$message
Exceptions
InvalidArgumentException

◆ allStartsWithLetter()

static allStartsWithLetter (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allString()

static allString (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<string> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allStringNotEmpty()

static allStringNotEmpty (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<non-empty-string> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allSubclassOf()

static allSubclassOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert iterable<class-string<ExpectedType>|ExpectedType> $value

Parameters
mixed$value
string | object$class
string$message
Exceptions
InvalidArgumentException

◆ allThrows()

static allThrows (   $expression,
  $class = 'Exception',
  $message = '' 
)
static

@psalm-param class-string<Throwable> $class

Parameters
iterable<Closure>$expression
string$class
string$message
Exceptions
InvalidArgumentException

◆ allTrue()

static allTrue (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<true> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allUnicodeLetters()

static allUnicodeLetters (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allUniqueValues()

static allUniqueValues (   $values,
  $message = '' 
)
static
Parameters
iterable<array>$values
string$message
Exceptions
InvalidArgumentException

◆ allUpper()

static allUpper (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allUuid()

static allUuid (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ allValidArrayKey()

static allValidArrayKey (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert iterable<array-key> $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ allWritable()

static allWritable (   $value,
  $message = '' 
)
static
Parameters
iterable<string>$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrAlnum()

static nullOrAlnum (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrAlpha()

static nullOrAlpha (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrBoolean()

static nullOrBoolean (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|bool $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrClassExists()

static nullOrClassExists (   $value,
  $message = '' 
)
static

@psalm-assert null|class-string $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrContains()

static nullOrContains (   $value,
  $subString,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$subString
string$message
Exceptions
InvalidArgumentException

◆ nullOrCount()

static nullOrCount (   $array,
  $number,
  $message = '' 
)
static
Parameters
null | Countable | array$array
int$number
string$message
Exceptions
InvalidArgumentException

◆ nullOrCountBetween()

static nullOrCountBetween (   $array,
  $min,
  $max,
  $message = '' 
)
static
Parameters
null | Countable | array$array
int | float$min
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ nullOrDigits()

static nullOrDigits (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrDirectory()

static nullOrDirectory (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrEmail()

static nullOrEmail (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrEndsWith()

static nullOrEndsWith (   $value,
  $suffix,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$suffix
string$message
Exceptions
InvalidArgumentException

◆ nullOrEq()

static nullOrEq (   $value,
  $expect,
  $message = '' 
)
static
Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ nullOrFalse()

static nullOrFalse (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|false $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrFile()

static nullOrFile (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrFileExists()

static nullOrFileExists (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrFloat()

static nullOrFloat (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|float $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrGreaterThan()

static nullOrGreaterThan (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ nullOrGreaterThanEq()

static nullOrGreaterThanEq (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ nullOrImplementsInterface()

static nullOrImplementsInterface (   $value,
  $interface,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $interface @psalm-assert null|class-string<ExpectedType> $value

Parameters
mixed$value
mixed$interface
string$message
Exceptions
InvalidArgumentException

◆ nullOrInArray()

static nullOrInArray (   $value,
  $values,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
array$values
string$message
Exceptions
InvalidArgumentException

◆ nullOrInteger()

static nullOrInteger (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|int $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIntegerish()

static nullOrIntegerish (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|numeric $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrInterfaceExists()

static nullOrInterfaceExists (   $value,
  $message = '' 
)
static

@psalm-assert null|class-string $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIp()

static nullOrIp (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIpv4()

static nullOrIpv4 (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIpv6()

static nullOrIpv6 (   $value,
  $message = '' 
)
static
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsAnyOf()

static nullOrIsAnyOf (   $value,
  $classes,
  $message = '' 
)
static

@psalm-pure @psalm-param array<class-string> $classes

Parameters
null | object | string$value
string[]$classes
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsAOf()

static nullOrIsAOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert null|ExpectedType|class-string<ExpectedType> $value

Parameters
null | object | string$value
string$class
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsArray()

static nullOrIsArray (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|array $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsArrayAccessible()

static nullOrIsArrayAccessible (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|array|ArrayAccess $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsCallable()

static nullOrIsCallable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|callable $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsCountable()

static nullOrIsCountable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|countable $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsEmpty()

static nullOrIsEmpty (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert empty $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsInstanceOf()

static nullOrIsInstanceOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert null|ExpectedType $value

Parameters
mixed$value
string | object$class
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsInstanceOfAny()

static nullOrIsInstanceOfAny (   $value,
  $classes,
  $message = '' 
)
static

@psalm-pure @psalm-param array<class-string> $classes

Parameters
mixed$value
array<object|string>$classes
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsIterable()

static nullOrIsIterable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|iterable $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsList()

static nullOrIsList (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|list $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsMap()

static nullOrIsMap (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-template T @psalm-param null|mixed|array<T> $array @psalm-assert null|array<string, T> $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsNonEmptyList()

static nullOrIsNonEmptyList (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|non-empty-list $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsNonEmptyMap()

static nullOrIsNonEmptyMap (   $array,
  $message = '' 
)
static

@psalm-pure @psalm-template T @psalm-param null|mixed|array<T> $array

Parameters
mixed$array
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsNotA()

static nullOrIsNotA (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template UnexpectedType of object @psalm-param class-string<UnexpectedType> $class

Parameters
null | object | string$value
string$class
string$message
Exceptions
InvalidArgumentException

◆ nullOrIsTraversable()

static nullOrIsTraversable (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|iterable $value

Deprecated:
use "isIterable" or "isInstanceOf" instead
Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrKeyExists()

static nullOrKeyExists (   $array,
  $key,
  $message = '' 
)
static

@psalm-pure

Parameters
null | array$array
string | int$key
string$message
Exceptions
InvalidArgumentException

◆ nullOrKeyNotExists()

static nullOrKeyNotExists (   $array,
  $key,
  $message = '' 
)
static

@psalm-pure

Parameters
null | array$array
string | int$key
string$message
Exceptions
InvalidArgumentException

◆ nullOrLength()

static nullOrLength (   $value,
  $length,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
int$length
string$message
Exceptions
InvalidArgumentException

◆ nullOrLengthBetween()

static nullOrLengthBetween (   $value,
  $min,
  $max,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
int | float$min
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ nullOrLessThan()

static nullOrLessThan (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ nullOrLessThanEq()

static nullOrLessThanEq (   $value,
  $limit,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$limit
string$message
Exceptions
InvalidArgumentException

◆ nullOrLower()

static nullOrLower (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|lowercase-string $value

Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrMaxCount()

static nullOrMaxCount (   $array,
  $max,
  $message = '' 
)
static
Parameters
null | Countable | array$array
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ nullOrMaxLength()

static nullOrMaxLength (   $value,
  $max,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
int | float$max
string$message
Exceptions
InvalidArgumentException

◆ nullOrMethodExists()

static nullOrMethodExists (   $classOrObject,
  $method,
  $message = '' 
)
static

@psalm-pure @psalm-param null|class-string|object $classOrObject

Parameters
null | string | object$classOrObject
mixed$method
string$message
Exceptions
InvalidArgumentException

◆ nullOrMethodNotExists()

static nullOrMethodNotExists (   $classOrObject,
  $method,
  $message = '' 
)
static

@psalm-pure @psalm-param null|class-string|object $classOrObject

Parameters
null | string | object$classOrObject
mixed$method
string$message
Exceptions
InvalidArgumentException

◆ nullOrMinCount()

static nullOrMinCount (   $array,
  $min,
  $message = '' 
)
static
Parameters
null | Countable | array$array
int | float$min
string$message
Exceptions
InvalidArgumentException

◆ nullOrMinLength()

static nullOrMinLength (   $value,
  $min,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
int | float$min
string$message
Exceptions
InvalidArgumentException

◆ nullOrNatural()

static nullOrNatural (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|int $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotContains()

static nullOrNotContains (   $value,
  $subString,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$subString
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotEmpty()

static nullOrNotEmpty (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotEndsWith()

static nullOrNotEndsWith (   $value,
  $suffix,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$suffix
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotEq()

static nullOrNotEq (   $value,
  $expect,
  $message = '' 
)
static
Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotFalse()

static nullOrNotFalse (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotInstanceOf()

static nullOrNotInstanceOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class

Parameters
mixed$value
string | object$class
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotRegex()

static nullOrNotRegex (   $value,
  $pattern,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$pattern
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotSame()

static nullOrNotSame (   $value,
  $expect,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotStartsWith()

static nullOrNotStartsWith (   $value,
  $prefix,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$prefix
string$message
Exceptions
InvalidArgumentException

◆ nullOrNotWhitespaceOnly()

static nullOrNotWhitespaceOnly (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrNumeric()

static nullOrNumeric (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|numeric $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrObject()

static nullOrObject (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|object $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrOneOf()

static nullOrOneOf (   $value,
  $values,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
array$values
string$message
Exceptions
InvalidArgumentException

◆ nullOrPropertyExists()

static nullOrPropertyExists (   $classOrObject,
  $property,
  $message = '' 
)
static

@psalm-pure @psalm-param null|class-string|object $classOrObject

Parameters
null | string | object$classOrObject
mixed$property
string$message
Exceptions
InvalidArgumentException

◆ nullOrPropertyNotExists()

static nullOrPropertyNotExists (   $classOrObject,
  $property,
  $message = '' 
)
static

@psalm-pure @psalm-param null|class-string|object $classOrObject

Parameters
null | string | object$classOrObject
mixed$property
string$message
Exceptions
InvalidArgumentException

◆ nullOrRange()

static nullOrRange (   $value,
  $min,
  $max,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$min
mixed$max
string$message
Exceptions
InvalidArgumentException

◆ nullOrReadable()

static nullOrReadable (   $value,
  $message = '' 
)
static
Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrRegex()

static nullOrRegex (   $value,
  $pattern,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$pattern
string$message
Exceptions
InvalidArgumentException

◆ nullOrResource()

static nullOrResource (   $value,
  $type = null,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|resource $value

Parameters
mixed$value
string | null$typetype of resource this should be.
See also
https://www.php.net/manual/en/function.get-resource-type.php
Parameters
string$message
Exceptions
InvalidArgumentException

◆ nullOrSame()

static nullOrSame (   $value,
  $expect,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
mixed$expect
string$message
Exceptions
InvalidArgumentException

◆ nullOrScalar()

static nullOrScalar (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|scalar $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrStartsWith()

static nullOrStartsWith (   $value,
  $prefix,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$prefix
string$message
Exceptions
InvalidArgumentException

◆ nullOrStartsWithLetter()

static nullOrStartsWithLetter (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrString()

static nullOrString (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|string $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrStringNotEmpty()

static nullOrStringNotEmpty (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|non-empty-string $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrSubclassOf()

static nullOrSubclassOf (   $value,
  $class,
  $message = '' 
)
static

@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert null|class-string<ExpectedType>|ExpectedType $value

Parameters
mixed$value
string | object$class
string$message
Exceptions
InvalidArgumentException

◆ nullOrThrows()

static nullOrThrows (   $expression,
  $class = 'Exception',
  $message = '' 
)
static

@psalm-param class-string<Throwable> $class

Parameters
null | Closure$expression
string$class
string$message
Exceptions
InvalidArgumentException

◆ nullOrTrue()

static nullOrTrue (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|true $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrUnicodeLetters()

static nullOrUnicodeLetters (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrUniqueValues()

static nullOrUniqueValues (   $values,
  $message = '' 
)
static
Parameters
null | array$values
string$message
Exceptions
InvalidArgumentException

◆ nullOrUpper()

static nullOrUpper (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrUuid()

static nullOrUuid (   $value,
  $message = '' 
)
static

@psalm-pure

Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrValidArrayKey()

static nullOrValidArrayKey (   $value,
  $message = '' 
)
static

@psalm-pure @psalm-assert null|array-key $value

Parameters
mixed$value
string$message
Exceptions
InvalidArgumentException

◆ nullOrWritable()

static nullOrWritable (   $value,
  $message = '' 
)
static
Parameters
null | string$value
string$message
Exceptions
InvalidArgumentException

The documentation for this interface was generated from the following file: