[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/beberlei/assert/lib/Assert/ -> Assert.php (summary)

Assert LICENSE

File Size: 85 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  that()
  thatAll()
  thatNullOr()
  lazy()

Functions
Functions that are not part of a class:

that($value, $defaultMessage = null, string $defaultPropertyPath = null)   X-Ref
Start validation on a value, returns {@link AssertionChain}.

The invocation of this method starts an assertion chain
that is happening on the passed value.

param: mixed $value
param: string|callable|null $defaultMessage

thatAll($values, $defaultMessage = null, string $defaultPropertyPath = null)   X-Ref
Start validation on a set of values, returns {@link AssertionChain}.

param: mixed $values
param: string|callable|null $defaultMessage

thatNullOr($value, $defaultMessage = null, string $defaultPropertyPath = null)   X-Ref
Start validation and allow NULL, returns {@link AssertionChain}.

param: mixed $value
param: string|callable|null $defaultMessage

lazy()   X-Ref
Create a lazy assertion object.




Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer