PHP Class Psecio\PropAuth\Test\TestClosure

Inheritance: extends Psecio\PropAuth\Test
Afficher le fichier Open project: psecio/propauth Class Usage Examples

Méthodes protégées

Méthode Description
evaluateEquals ( string $value, string $compare ) : boolean Evaluate that the method result is true (not equals)
evaluateNotEquals ( string $value, string $compare ) : boolean Evaluate that the method result is false (not equals)

Private Methods

Méthode Description
executeClosure ( Closure $value ) : boolean Execute the closure, passing in the additional data as arguments

Method Details

evaluateEquals() protected méthode

Evaluate that the method result is true (not equals)
protected evaluateEquals ( string $value, string $compare ) : boolean
$value string Value for evaluation
$compare string Value to compare against
Résultat boolean Pass/fail result of test (method result)

evaluateNotEquals() protected méthode

Evaluate that the method result is false (not equals)
protected evaluateNotEquals ( string $value, string $compare ) : boolean
$value string Value for evaluation
$compare string Value to compare against
Résultat boolean Pass/fail result of test (method result)