[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Assert LICENSE

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

Defines 1 class

AssertionChain:: (5 methods):
  __construct()
  __call()
  all()
  nullOr()
  setAssertionClassName()


Class: AssertionChain  - X-Ref

Chaining builder for assertions.

__construct($value, $defaultMessage = null, string $defaultPropertyPath = null)   X-Ref
AssertionChain constructor.

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

__call($methodName, $args)   X-Ref
Call assertion on the current value in the chain.

param: string $methodName
param: array $args

all()   X-Ref
Switch chain into validation mode for an array of values.


nullOr()   X-Ref
Switch chain into mode allowing nulls, ignoring further assertions.


setAssertionClassName($className)   X-Ref

param: string $className
return: $this



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