PHP Class PhpDeal\Functional\Verify\Stub

Mostra file Open project: lisachenko/php-deal

Public Methods

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

Method Details

add() public method

Method with contract integrated with beberlei/assert library
public add ( integer $value ) : boolean
$value integer
return boolean

sub() public method

Method with many contracts
public sub ( integer $value ) : boolean
$value integer
return boolean

testAccessToPrivateField() public method

Method with contract that access a private variable
public testAccessToPrivateField ( float $variable )
$variable float

testNumeric() public method

Method with numeric parameter requirement
public testNumeric ( float $variable ) : float
$variable float
return float