Class NotStartsWith
Diese Klasse implementiert eine Regel, die prüft, ob der übergebene Wert mit dem festgelegten Wert beginnt und in diesem Fall true zurück gibt.
// Ergibt false echo (new Alvine\Util\Constraint\NotStartsWith('hal'))->isValid('hallo'); // Ergibt true echo (new Alvine\Util\Constraint\NotStartsWith('mun'))->isValid('hallo');
Das StartsWith prüft den Wert und gibt true zurück, wenn der übergebene Wert mit der Zeichenkette beginnt.
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Util\Constraint
- Alvine\Util\Constraint\StringType
- Alvine\Util\Constraint\StartsWith
- Alvine\Util\Constraint\NotStartsWith
Namespace: Alvine\Util\Constraint
Package: Alvine\Util\Constraint
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20150703
Link: Alvine
Link: Constraintprogrammierung (Wikipedia)
Located at util/constraint/NotStartWith.class.php
Package: Alvine\Util\Constraint
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20150703
Link: Alvine
Link: Constraintprogrammierung (Wikipedia)
Located at util/constraint/NotStartWith.class.php
public
boolean
|
__construct()
|
__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
|