CombinationWeight
extends Weight
in package
Class Weight
Table of Contents
- $show : bool
- $weight : float
- $mainWeight : bool
- __construct() : mixed
- CombinationWeight constructor.
- isMainWeight() : bool
- show() : bool
- value() : float
Properties
$show
protected
bool
$show
$weight
protected
float
$weight
$mainWeight
private
bool
$mainWeight
Methods
__construct()
CombinationWeight constructor.
public
__construct(float $weight, bool $show, bool $mainWeight) : mixed
Parameters
- $weight : float
- $show : bool
- $mainWeight : bool
Return values
mixed —isMainWeight()
public
isMainWeight() : bool
Return values
bool —show()
public
show() : bool
Return values
bool —value()
public
value() : float