Class NotNull
Prüft ob der Übergebene Wert nicht Null ist
Diese Klasse implementiert eine Regel, die den übergebenen Wert mit Null vergleicht. Ist der Typ ungleich null gibt die Methode isValid() true zurück.
// Ergibt true echo (new Alvine\Util\Constraint\NotNull())->isValid(5); // Ergibt false, da Wert Null ist echo (new Alvine\Util\Constraint\NotNull())->isValid(null);
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Util\Constraint
- Alvine\Util\Constraint\NotNull
Namespace: Alvine\Util\Constraint
Package: Alvine\Util\Constraint
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20140616
Link: Alvine
Link: Constraintprogrammierung (Wikipedia)
Located at util/constraint/NotNull.class.php
Package: Alvine\Util\Constraint
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20140616
Link: Alvine
Link: Constraintprogrammierung (Wikipedia)
Located at util/constraint/NotNull.class.php
public
boolean
|
__call(),
__clone(),
__get(),
__set(),
__toString(),
equals(),
getClass(),
getClone(),
getClosure(),
getHashCode(),
getID(),
getShortID(),
isCallable(),
isInstanceOf(),
propertyExists()
|
serialize(),
unserialize()
|
checkAndAdjustSerialisation(),
serialize(),
unserialize()
|
APIVERSION,
IDENTIFICATION,
SERIALVERSION,
VERSION
|
$hash,
$properties
|