Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Assert
AssertionChain
nullOr
Assert\AssertionChain::nullOr PHP Method
AssertionChain Class Documentation
Datei anzeigen
Open project: beberlei/assert
nullOr()
public
method
Switch chain into mode allowing nulls, ignoring further assertions.
public
nullOr
( ) :
AssertionChain
return
AssertionChain
public function nullOr() { if ($this->value === null) { $this->alwaysValid = true; } return $this; }
AssertionChain
__call
__construct
all
nullOr
setAssertionClassName