Method | Description | |
---|---|---|
add ( integer $value ) : boolean | Method with contract integrated with beberlei/assert library | |
sub ( integer $value ) : boolean | Method with many contracts | |
testAccessToPrivateField ( float $variable ) | Method with contract that access a private variable | |
testNumeric ( float $variable ) : float | Method with numeric parameter requirement |
public testAccessToPrivateField ( float $variable ) | ||
$variable | float |
public testNumeric ( float $variable ) : float | ||
$variable | float | |
return | float |